Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

WP Toolbar menu/link colors


  #1  
Old May 20, 2012, 09:08 PM
Knut Sparhell
 
34 posts · Jun 2010
Fredrikstad, Norway
When I style body links to a specific hover color this color seems to be used also on some of the WordPress toolbar (also known as the front "admin bar") menu links. This is not always desired, because the background color of this bar is quite dark.

If I add this CSS Insert
Code:
#wpadminbar a { color: inherit !important; }
then this problem is fixed.

A couple of versions ago theme authors could assume that every element visible on the front was controlled by the theme. This is no longer true when the toolbar is visible (for logged in users who wants this).

If this is a (small) bug I suggest it be fixed so that styling of the body element never affects the WP toobar (#adminbar).
  #2  
Old May 22, 2012, 06:12 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This isn't a theme bug. The styling for this area is created by wordpress. If you look at the source of a page you will find the line
HTML Code:
<link rel='stylesheet' id='admin-bar-css'  href='http://yourdomain.com/wp-includes/css/admin-bar.css?ver=20111209' type='text/css' media='all' />
I have no idea how WP decides on these options but if your theme settings conflict wth it, you will have to override the options in this style sheet.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Link colors sleenie Center area post/pages 3 Jan 5, 2012 08:45 PM
How I placed AddThis plugin's toolbar to the right of GD Star Rating toolbar. ymf Plugins & Atahualpa 1 Jul 24, 2010 06:07 AM
[SOLVED] Changing Link Colors. jamkinhg Atahualpa 3 Wordpress theme 4 Feb 18, 2010 04:22 PM
How to Link Page Toolbar Outside of Site tim5046 Page & Category Menu Bars 1 Jun 4, 2009 07:51 AM
Page navigation link colors pltrace Post-Kicker, -Byline & -Footer 4 Mar 9, 2009 08:42 AM


All times are GMT -6. The time now is 03:09 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.