jrothra

Member

Forum Replies Created

  • In reply to: Header Nav Not Pulling Custom Sprites Properly

    #23668

    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).

    In reply to: Header Nav Not Pulling Custom Sprites Properly

    #23666

    Sadly, the !important didn’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-wrap advice worked perfectly, though!

    Gotcha. I’m sure that IE will incorporate it eventually. However, this is one of the reasons I much prefer other browsers.

    In reply to: Combining php and HTML in child functions

    #16147

    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.

    In reply to: Combining php and HTML in child functions

    #16145

    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:

    Top post

    Second post

    In reply to: Generic Image Call in Functions

    #16123

    The extra space was it! I never thought that would cause such trouble. Also, thank you for all your help. 🙂

    In reply to: Generic Image Call in Functions

    #16121

    Related issue: I just tried updating the CSS file in the child theme, and all I get is the error quoted above. Odd.

    In reply to: New div above content main w/o affecting core?

    #16021

    I placed an edited version of the header.php in 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

    ThemeButtonIdeas.jpg

    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.php file and placing it in the child theme folder (which would make updating the site a bit less simple). Can this be done?

    In reply to: How to change 'follow me' text on Twitter widget

    #15890

    Wondering something. If I place the footer.php, loop.php, or header.php files 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?

    In reply to: How to change 'follow me' text on Twitter widget

    #15889

    That makes more sense to me that WP’s explanation. 🙂

Viewing 10 posts - 31 through 40 (of 57 total)