jrothra
MemberForum Replies Created
-
Prasanna: Adding the changes you mentioned above to the Custom CSS section had no impact. The drop down options are still black, not the blue as dictated by the sprite (that image on the sprite is blue, not black).
Sadly, the
!importantdidn’t help. I’ll describe the results in the code below, results in all caps:/* =Navigation
*/
.menu-bottom-shadow {
background: url(images/sprite_h-JLR.png) left top repeat-x #eee !important;
CAUSED NO VISIBLE EFFECT
}
#header-menu {
background: url(images/sprite_h-JLR.png) left -3px repeat-x #05223b !important;
CAUSED NO VISIBLE EFFECT
}
#header-menu > li:hover,
#header-menu > li.current-menu-item,
#header-menu > li.current-menu-ancestor {
background: url(images/sprite_h-JLR.png) left -100px repeat-x #eee !important;
CAUSED NO VISIBLE EFFECT
}
#header-menu ul li {
background: url(images/sprite_h-JLR.png) left -377px repeat-x #dfdfdf !important;
CAUSED SUBMENU ITEMS TO KEEP WHITE/GRAY BACKGROUND WITH WHITE TEXT,
NOT THE IMAGE SPECIFIED IN THE SPRITE
}
#secondary-menu {
background: url(images/sprite_h-JLR.png) left -540px repeat-x #222;
NOT USING SECONDARY MENU, SO NOT ADDED HERE
}
#secondary-menu > li:hover,
#secondary-menu > li.current-menu-item,
#secondary-menu > li.current-menu-ancestor {
background: url(images/sprite_h-JLR.png) left -614px repeat-x #dfdfdf;
NOT USING SECONDARY MENU, SO NOT ADDED HERE
}
#secondary-menu ul li {
background: url(images/sprite_h-JLR.png) left -614px repeat-x #dfdfdf;
NOT USING SECONDARY MENU, SO NOT ADDED HERE
}The
#header-menu-wrapadvice worked perfectly, though!In reply to: Slider background not fading in IE9, is fading in Firefox 5
August 13, 2011 at 6:48 pm #16224Gotcha. I’m sure that IE will incorporate it eventually. However, this is one of the reasons I much prefer other browsers.
That worked perfectly (the third listing)! I looked again a few minutes ago and realized I could edit the div containing the slider, giving it a larger top margin. I did that in the child CSS.
On a related note, I noticed that the above cited code causes the slider to appear on a single excerpted home page post, but not the others:
Screenshot – site using Graphene theme not live yet
I don’t want it on any excerpted content. Also, the top and second posts can be seen here (under current design format, but this way you can see the posts’ lengths:
The extra space was it! I never thought that would cause such trouble. Also, thank you for all your help. 🙂
Related issue: I just tried updating the CSS file in the child theme, and all I get is the error quoted above. Odd.
I placed an edited version of the
header.phpin the child theme folder so I can show what I want to do. Here’s a screenshot of the idea I’m trying to get at (I’ll probably end up making the buttons a bit smaller, though the location is where I want them):Scroll right to view entire image

I don’t have the site up with this theme yet because I’m awaiting completing it before the public release of the site, hence only a screenshot.
Here’s the edited part of the file (what I’ve added is marked).
<?php do_action('graphene_before_content'); ?>
<div id="content" class="clearfix hfeed">
<!-- ADDED BY JOHN - ACTION CENTER IMAGES START -->
<div id="actioncenter" style="text-align:center;margin-bottom:10px;margin-top:-5px;">
<a href="#"><img src="http://www.greggcountygop.com/wp-content/uploads/2011/08/ActionCenter-ContributeRed.png" style="margin-right:15px;" alt="Contribute" /></a>
<a href="#"><img src="http://www.greggcountygop.com/wp-content/uploads/2011/08/ActionCenter-RegisterToVoteRed.png" alt="Register to vote" style="margin-right:15px;" /></a>
<a href="#"><img src="http://www.greggcountygop.com/wp-content/uploads/2011/08/ActionCenter-VolunteerRed.png" alt="Volunteer" /></a>
</div>
<!-- ADDED BY JOHN - ACTION CENTER IMAGES START -->
<?php do_action('graphene_before_content-main'); ?>
<?php
/* Sidebar1 on the left side? */
if ( in_array(graphene_column_mode(), array('two-col-right', 'three-col-right', 'three-col-center')) ){
get_sidebar();
}
/* Sidebar2 on the left side? */
if ( graphene_column_mode() == 'three-col-right' ){
get_sidebar('two');
}
?>
<div id="content-main" class="clearfix">I want to be able to do this without having to edit the
header.phpfile and placing it in the child theme folder (which would make updating the site a bit less simple). Can this be done?Wondering something. If I place the
footer.php,loop.php, orheader.phpfiles in the child theme, what impact will that have later if I go to update the parent theme? Will I have to then re-edit the updated footer, header, loop?That makes more sense to me that WP’s explanation. 🙂
