Text color in main nav in a sub page
#1
Posted 03 April 2011 - 01:39 PM
I have a small problem with the customisation of background color in main navigation when i am on a page other as homepage.
Check this picture :
The background menu selected stay in black grrr... (with the homepage the background menu come back to white when mouseout)
The more strange is on homepage i haven't this pb, but for each or it have this troubleshooting.
I am sure that it need to add something in custom CSS but i don't see wich lines to use...
Warm regards,
DDave
#2
Posted 03 April 2011 - 04:47 PM
Add the hex code for the color you desire.
for each
or it have this troubleshooting.
Can you describe in detail what kind of troubleshooting you need to do? Is it a 404 error?
#3
Posted 03 April 2011 - 05:31 PM
Thanks for your reply.
I think it's more complicated because i know use the CSS to change color background for li.page_item. (here i have put a white color).
The pb is why black background stay on all pages apart the homepage...
Look this picture :
(my homepage)and compare to the first :
( an another page)
On my homepage, i haven't this pb with background color, but when i am on an another page, the menu selected stay in black :'( (when i go into the submenu).
When i look firebug i see one different thing beetween the index and other pages in the main navagiation.
on home page, each page with subpages menu have a li class like that class in full code :
BUT on other pages (ex : a subpage) it's not the same.
It's :
I am not sure but the pb come from maybe to this class. I don't know how to remplace this class for others pages... or maybe just change something in CSS custom code about these class.
Warm regards,
DDave
#4
Posted 03 April 2011 - 05:41 PM
Change to the color of your choice.
#5
Posted 03 April 2011 - 05:51 PM
I have tried your tips about ul.main-nav..., it works on homepage, but not for the others
:'( arrghhh ^^
The only other CSS custom codes that i used for the navigation is :
}
Warm regards,
DD
#6
Posted 03 April 2011 - 06:00 PM
#7
Posted 03 April 2011 - 06:13 PM
#8
Posted 03 April 2011 - 06:39 PM
#9
Posted 03 April 2011 - 06:48 PM
#10
Posted 03 April 2011 - 06:57 PM
#11
Posted 03 April 2011 - 07:17 PM
but unfortunaltly not when youre on other page (livre, into a subpage of the website, etc...) --> Warm regards, Damien
#12
Posted 03 April 2011 - 09:50 PM
#13
Posted 04 April 2011 - 07:55 AM
#14
Posted 04 April 2011 - 03:21 PM
#15
Posted 04 April 2011 - 04:56 PM
Thanks for your advices. You and Catrina have give me the solution.
The pb was on two classes : and .
So the solution is to add two line in CSS custom :
I have try these options before but without the "a" element ... grrr!
It's always like that, you pass always so close of the solution and turn around during some hours.
Thanks to u and Catrina to spend your time on my troubleshooting.
Regards,
DDave











