WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP Responsive Theme - site-name / site-description background (7 posts)

  1. edsrider
    Member
    Posted 11 months ago #

    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>
  2. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    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;
    }
  3. edsrider
    Member
    Posted 11 months ago #

    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?

  4. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    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;
    }
  5. edsrider
    Member
    Posted 11 months ago #

    #logo {
        background-color: white;
    }

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

  6. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

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

  7. edsrider
    Member
    Posted 11 months ago #

    That would be awesome! Really appreciate your help :)

Reply

You must log in to post.

About this Topic