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 » Page & Category Menu Bars »

WordPress Menus - How to Change the Background Color of the Current Page/Category


  #1  
Old Nov 1, 2010, 03:19 PM
gomeetpete
 
1 posts · Nov 2010
Hello,
After hours and hours of scouring the forum and trying several different solutions, I am here to ask for your help.

Using the WordPress Menu system, I have created 5 custom links that are all linked to internal pages of my site. When someone is viewing one of these pages, I need the background "tab" color of the current page link to change to a color of my choice. This is for Menu 2, and not the very top menu (menu 1).

I know it's an easy concept, but for some reason I haven't been able to find the right css to make it work. Any help you can provide would be GREATLY appreciated.

Thanks!
  #2  
Old Nov 1, 2010, 06:59 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is no incompatibility between atahualpa and the wordpress menus. Currently, when you choose to build your own menus, you are responsible for the styling. Currently some of the new classes that wordpress menus use are the same as the ones atahualpa has been using and the ones that are not can be addressed by defining your own CSS for them and adding that to the CSS inserts.

The new wordpress menus are very powerful and have the opportunity for some crazy things, like having pagea be the parent of pageb which is the parent of pagea - now if you are on pagea, both items in the menu will show with the same style. And what happens when you mix pages and categories and external links in the same menu, now should the page style be used or the category styles??

It can get messy...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
change button color, current category, current page, wordpress menu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] change current category menu item text color cway Page & Category Menu Bars 3 Oct 29, 2010 08:39 AM
Background color does not change for menu items in current state cfibanez Page & Category Menu Bars 4 Sep 2, 2010 11:18 AM
[SOLVED] Change Background Color based on Category Name tjwhitejr Center area post/pages 2 Jul 16, 2010 10:54 AM
[SOLVED] Change current page menu bar background color Wimbledon Page & Category Menu Bars 7 Apr 4, 2010 12:33 AM
[SOLVED] Item Padding inside Expaned Page Menus & Color of Items on current page. joshsweiss Page & Category Menu Bars 7 Feb 23, 2010 06:31 AM


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


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