Support » Themes and Templates » WP Responsive Theme – site-name / site-description background

  • Resolved edsrider

    (@edsrider)


    Hey there,

    I’ve got the WP Responsive Theme activated and a custom background image. All content has a white background. The issue is that the site-name and site-description have a line space between them which shows the background image of the site and not a plain white box…. is there anyway I can have these encased in a single white box? Check out http://www.edsrider.com

    <div id="logo">
                <span class="site-name"><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></span>
                <span class="site-description"><?php bloginfo('description'); ?></span>
            </div>
Viewing 6 replies - 1 through 6 (of 6 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    Hi again :)! You’ve changed themes – it looks great!

    You can fix that space by changing the margin in this CSS to padding:

    .site-description {
        background-color: #FFFFFF;
        color: #AFAFAF;
        display: block;
        font-size: 0.875em;
        margin: 10px 0;
    }

    Hey again! Thanks for taking a look. Been working on this theme in the last week. THink its a better look 🙂

    Still getting the space…. any other ideas?

    WPyogi

    (@wpyogi)

    Forum Moderator

    Oh sorry, I wasn’t very clear about that – you already have that CSS in your style.css file – so find the existing one and change the margin to padding. Then also remove the new one – just so you avoid extra code in there.

    If that doesn’t seem to work, try adding this:

    #logo {
        background-color: white;
    }
    #logo {
        background-color: white;
    }

    did the trick. Do you have any suggestions or comments for the layout?

    WPyogi

    (@wpyogi)

    Forum Moderator

    I’m just signing off for tonight as its late here (California) but I’d be happy to look at it in the am?

    That would be awesome! Really appreciate your help 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP Responsive Theme – site-name / site-description background’ is closed to new replies.