WordPress.org

Ready to get started?Download WordPress

Forums

Small CSS Issue (3 posts)

  1. efpeterson
    Member
    Posted 3 years ago #

    So, I've been working on this site for a bit: http://efpeterson.com/candy

    The only thing I have left to do is to is bump the "Welcome" title up. I've been through the CSS file and have changed quite a few things, but I can't seem to figure it out. I was able to move the titles up on the other pages and I want the same for the home page. Does anyone have any suggestions? You can view the CSS file here: http://efpeterson.com/candy/wp-content/themes/candy/style.css

  2. design_dolphin
    Member
    Posted 3 years ago #

    Changing

    #siteDescription {
    color:#999999;
    font-size:1.2em;
    font-style:italic;
    margin:10px auto 60px;
    padding:11px 0 13px;
    width:400px;
    }

    To

    #siteDescription {
    color:#999999;
    font-size:1.2em;
    font-style:italic;
    height:0;
    margin:10px auto 24px;
    padding:11px 0 13px;
    width:400px;
    }

    Would be one way of doing it. The difference is the margin and setting the height of the div. It still needs cross-browser testing, but the way the #siteDescription div is set is causing the 'Welcome' text to appear at the location that it does.

  3. efpeterson
    Member
    Posted 3 years ago #

    Thanks. I just wound up setting that 60px on the margin to 0 and it solved the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic