• Hey there,

    I’m making up an archive page, but the links are white, while the background of the page is also white.

    I tried to set the link-colors to red, but nothing changes.
    on my regular navigation, the links are white, cuzz they’re on a black block.

    When I add “!important” to the css-line for the links in the archive-results,
    the links in there are red (I just choose red to see if it works, then I’d change it to the correct color).
    The problem is that it’ll change -all- the links … also in my regular navigation …. Why is that?

    Ty !

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Css is basically a set of rules that tell the browser how to display html elements. When you add !important to a rule you essentially make it more important than other rules and it will override their specific rules.

    Lets say I had a rule like a.blue{color:blue;} then I write a rule that says a{color:red !important;} it will override my a.blue and make all my links red.

    Use firebug or the browser’s default element inspector to get the exact rule you want to change.

    Thread Starter LearningDesigner

    (@learningdesigner)

    yes, but it only appears in <section>, next to that, it’s every individual post with an invidivual id…

    Should I place a div in loop.php and modify it there, or perhaps in another php file? I’m not sure which php file contains the archive results.

    Thread Starter LearningDesigner

    (@learningdesigner)

    It’s the last thing that needs to be done, but I just can’t get it properly good.

    Thread Starter LearningDesigner

    (@learningdesigner)

    Case closed ! Hurray for me ! All for me !!!

    …and you people for your help ??

    Thank you ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Archive results page links’ is closed to new replies.