• how can I make the sidebar here go all the way down? The background is changed to white so that pages will have a white background but the sidebar doesnt’ reach the bottom like on the index

    unless I can add another line in the image css in the header that is just for this page

    https://www.nascarusa.net/?p=52

Viewing 8 replies - 1 through 8 (of 8 total)
  • In your style.css, set the height of the sidebar or menu (they are the same but have different names in different themes) to have height:100% and see that that works for you. For you, it’s called the sidebar.

    Also, you might want to clean up these errors which will help everything work better.

    Thread Starter allpedal

    (@allpedal)

    I looked at the validator and alot its calling errors or saying that tags are missing are not so I’m not sure why its showing all those errors.

    BTW, when I first installed this template and ran the validator it came up with alot of the errors that you see now.

    Thread Starter allpedal

    (@allpedal)

    setting the height didn’t work either

    hmm if I was root what would I say? hmmm faux columns perhaps?

    Setting height won’t fix it, as there isn’t enough content on your sidebar to stretch it, so in order to make it work you have to give the “illusion” that it’s stretching as the content on the left does.

    TRy this, it should work:

    https://www.alistapart.com/articles/fauxcolumns/

    Thread Starter allpedal

    (@allpedal)

    thats what it was using originally – in the header it has 2 backgrounds for #page and I changed one to get the white background on a page

    If you look at the source for the background of #page you’ll see what i”m talking about.

    I’m not following – are you saying it was working, then you played with something and it stopped working? Have you read that link? IF you want to use height you can, but at the same time, if the content on the left is twice the length of the content on the sidebar, it will not carry that down. Using faux columns would ensure that even of the content is longer on the left, the sidebar on the right will carry that forward.

    Let’s start with the errors.

    1. You have two style references in the HEAD of your header.php that instruct the browser to put two graphics in your header. Clean those up and make sure that they are either the same or different but “together”.

    2. The following is in the wrong place. Move it closer to the rest of the style references. It is outside of the HEAD and it must be within it.

    <link rel="stylesheet" href="https://www.nascarusa.net/wp-content/themes/scattered2/nicetitle.css">

    And add a self closing tag at the end so it looks like tered2/nicetitle.css">

    3. <title>Leander Fire & Rescue</title> can not feature an ampersand and must have the word “and” or the character code which is &amp;.

    4. XHMTL requires that tags that are not closed be self-closing. In short, every <br> need to become
    .

    5. Your sidebar links are totally messed up. For instance:

    <ul>
    <h2>Post Date :</h2>
    <li>Monday, May 23rd, 2005 at 12:36 pm</li>

    needs to be corrected to be:

    <h2>Post Date :</h2>
    <ul>
    <li>Monday, May 23rd, 2005 at 12:36 pm</li>

    See: https://codex.www.ads-software.com/Styling_Lists_with_CSS

    That should get your started and clean up a lot of the mess.

    Skip the fauxcolumns as that is like using a hammer to slice a diamond.

    Thread Starter allpedal

    (@allpedal)

    thanks I’ll start working on those. Again, this is straight from the designer (except for the “&” mistake) so I”m guessing I’m fixing his mistakes.

    Being new to CSS doesn’t make it that much easier but I’ll get it. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘another sidebar question’ is closed to new replies.