WordPress.org

Ready to get started?Download WordPress

Forums

Theme link color affecting WP Admin bar (11 posts)

  1. codydh
    Member
    Posted 2 years ago #

    Hello! I'm using the theme Yoko, and I've noticed that the link color I set in the theme affects the text links in the WP Admin bar when I'm viewing my site while logged in.

    Does anyone know how I can tweak the CSS in Yoko to fix this?

    Thank you!

  2. wbjtk
    Member
    Posted 2 years ago #

    post link

  3. codydh
    Member
    Posted 2 years ago #

    To my site? Or is that something in the CSS?

    http://www.codydehaan.com is my site.

  4. wbjtk
    Member
    Posted 2 years ago #

    sorry, was just saying to post your link so ppl can look at it and find the prob :) im not sure about this one.

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  6. codydh
    Member
    Posted 2 years ago #

    It looks like the reason is that Yoko just sets the chosen link color on a {}, which affects all links. What is the "proper" way to set site-wide links but not affect the header?

  7. wbjtk
    Member
    Posted 2 years ago #

    the admin bar? as in the wordpress bar at the top that says "howdy, admin" and all that??

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    You (re)set the color on (say) #header a.

  9. codydh
    Member
    Posted 2 years ago #

    It's strange, I set the #wpadminbar a {color: } property, but it seems like it's getting overridden still. Is this the right thing to be setting, in my child theme's style.css?

  10. esmi
    Forum Moderator
    Posted 2 years ago #

    Use Firebug to find out.

  11. codydh
    Member
    Posted 2 years ago #

    I am looking at Firebug, but it seems to me the only thing overriding it is admin-bar.css. But I'm assuming that's probably not true?

    [ Please do not bump, it's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Topic