Support » Themes and Templates » [Resolved] customizing theme

[Resolved] customizing theme

  • airington


    Okay, so this is probably a pretty lame question…
    I added the ‘next/previous’ navigation to the bottom of my page, and I’d like to change the font color. I also have links on the top of my page that I don’t want to change. When I change the navigation color in css, it changes all the link colors. Is there a way to just change the ‘next/previous’ font color? I know there is, but I don’t know how.
    Here’s my blog link if you need to see what I mean.


Viewing 7 replies - 1 through 7 (of 7 total)
  • John


    If you add a class to the ‘next/previous’ navigation you’ll be able to be more specific with the CSS and change the color



    Thank you…I forgot to mention, I’m a novice. This is what I have:

    <div class=”navigation”>

    <div class=”aligncenter”><?php posts_nav_link(”,”,’« Previous Entries’) ?></div>

    <div class=”aligncenter”><?php posts_nav_link(”,’Next Entries »’,”) ?></div>


    What would I change “navigation” to? I know lame, but I’ve just started using wordpress and am surprised I even made it this far. 🙂
    thanks. a






    The CSS you should add to your style.css should look something like this:

    div.navigation div. aligncenter a { color: #9900FF; }

    This means that all links ( <a> ) that are inside a <div> with the class aligncenter, which in turn are inside another <div> with the class navigation should have the color #9900FF which is a shade of purple.

    If you’d like to learn more about XHTML and CSS then visit HTML Dog This is the site I think explains it the easiest yet teaches best practice. There are other good sites out there but I personally believe this to be the easiest for a novice.



    THANK YOU!!!!
    It worked.

    How can i create a theme in the easiest way

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] customizing theme’ is closed to new replies.