[SOLVED] change only one link color
I need to change the color in only one link in my header, it is possible in Atahualpa 3.4.9??
Thanks, Alex |
Depends on weither you can construct a unique CSS selector
|
Uhm... i'm thinking to use custoum fileds, but i don't know if it's possible.
The title is in a page |
what is the url?
|
|
if you look at the generated source you will find
HTML Code:
<li class="page_item page-item-6"><a href="http://www.alexanderbrucolini.it" target="_blank" >Portfolio HD</a></li> |
i'm tring to put this
Code:
.page_item page-item-6 {color: red} but nothing is change... maybe is not right css code :) |
that is improper CSS since they are both classes use
HTML Code:
.page-item-6 {color: red} |
I try
Code:
.page-item-6 {color: red} |
Actually it probably is working, but a nother CSS selector is overriding it because it is more specific. You need to code your CSS Selector to make it more specific. Since you want to change the link text for the class 'page-item-6' you should add that into the selector and you may need to add '!important' to the rule if that doen't work. try
HTML Code:
.page-item-6 a {color: red;} HTML Code:
.page-item-6 a {color: red !important;} |
Thanks very much! the last code work fine! ;)
|
All times are GMT -6. The time now is 05:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.