Static home page contents

  • aliedgar

    #1397

    Hi there

    First off, thanks for coming up with such an awesome theme!

    I’m super new to WordPress, but have managed to start building my small business website (www.insighthr.com.au) by selecting static page and removing posts & comments. I need to know how to:

    – have the home page just displaying actual contents of home (rather than links to all pages), and

    – remove the white bar between page content and footer

    Thank you!

    aliedgar 🙂

    Mod

    Kenneth John Odle

    #15612

    That white bar is actually a CSS background that is part of the “sprite_h.png” image file.

    The CSS for the footer looks like:

    #footer {
    background: url(images/sprite_h.png) left -952px repeat-x #111;
    border-top: 1px solid #d5d5d5;
    padding-top: 50px;
    margin-bottom: 50px;
    min-height: 100px;
    position: relative;
    color: #999;
    padding-bottom: 20px;
    }

    You can’t just delete the “background” line, because Custom CSS doesn’t replace the original CSS, it only overrides it. I have had success just taking out the URL, so it reads

    background: url() left -952px repeat-x #111;

    This will still leave a black space where that white bar was. This is controlled by the padding-top: 50px; line. Change that 50px to something smaller to tighten up the layout.

    Ken

    Mod

    Kenneth John Odle

    #15613

    Oh yeah, did you read this page from the Codex that tells you how to set up a static front page? (I don’t think you’ll need to create the second page.)

    Ken

    Admin

    Syahir Hakim

    #15614

    Ken, you can disable the background by just using this:

    background: none;
    Mod

    Kenneth John Odle

    #15615

    I knew there had to be a simpler way. Thanks!

    aliedgar

    #15616

    Hiya

    Thanks so much! Much appreciated.

    Kind regards

    Ali

    Mod

    Kenneth John Odle

    #15617

    Try this code:

    #footer {
    background: #000000;
    border-top: 3px solid #bbbbbb;
    padding-top: 10px;
    }

    substituting a suitable color, else your text appears in front of your normal background, which may or may not render it readable.

    The border and padding I include here make a subtle border between the post and the footer. You can see an example here. Just scroll to the bottom to see this in action.

    BTW, read the forum rules and include a link to your site, which makes it easier for us to help you.

    Ken

    donna03281

    #15618

    No, I’m talking about the alternate footer widget shown here: http://so-bored.com/wordpress/?page_id=46, where the search bar is . . .

    donna03281

    #15619

    Still haven’t received a reply for the above-reference question, but while I’m waiting, I’ll add another question. I chose to have the date “placed in line”. The font is so dark, you can’t see the date. I have searched in vein and cannot seem to locate on the style sheet where this is. Please help . . . thank you.

    Mod

    Kenneth John Odle

    #15622

    Your date shows up fine to me.

Viewing 10 posts - 1 through 10 (of 22 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!