[resolved] Why is some css working and some not? (3 posts)

  1. marcy
    Posted 10 years ago #

    I have my new theme almost looking the way I want on the main page (haven't worked on the other views yet). My plain HTML mockup looked perfect, but when I uploaded the theme (with all the PHP stuff) only some of the CSS is working.


    Use the theme switcher in the sidebar to select "Boxed Apart 1024"

    The layout is all fine, and so are the background and border colors. But the text and link colors in the header are not correct, and none of the fonts are correct, and I've lost the list styling and the monthly archives styling.

    Does anyone see what I'm missing that is causing these problems?

    You can view the CSS here:

    CSS file

    (The bits that are commented out are the bits that I added that were not in my mockup css file.)

  2. bobafred
    Posted 10 years ago #

    Search for this block in your .css file:

    #sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4
    line-height: 0.8em;
    margin: 0 0 0.6em 0;

    /* -------------------------
    Other Text
    ------------------------- */

    There is a missing } after the line where you set the margin. This should fix all the problems you're seeing.

    When I copy and paste your .css into my editor, it is around line 125.

    Hope this helps.

  3. marcy
    Posted 10 years ago #

    It's so hard to find those little tiny missing things... thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.