kremo5le
Member
Posted 3 months ago #
Hello,
I customized TwentyEleven for a client. Here's the link: http://dev.inspiredcreativebrief.com/. When you go to the "Book" page 2 links show up, Reviews and Download, these are just custom links I created as the client wanted them to show at all times; no drop down menu.
My problem is that even though I added a class for the "a:active" link to be white, they stay black.
Anyone know either why this is happening or a possible solution?
Thanks,
Emilio
do not edit Twenty Eleven directly, but create a child theme to work with:
http://codex.wordpress.org/Child_Themes
the pseudo class :active is only active just after a link is clicked until the next page appears;
http://www.w3schools.com/css/css_link.asp
you need to add a special css class to these links when you are on these pages.
kremo5le
Member
Posted 3 months ago #
Hey there,
The theme is actually done 99.99%. I am not going to reverse engineered what was done already as you understand.
That's correct. I am proficient on CSS and the pseudo class :active is there. I am actually using it like:
li.my_id a:active {
color: #fff;
}
Why would li.id a work but a:active doesn't?
kremo5le
Member
Posted 3 months ago #