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 » Header configuration & styling »

[SOLVED] change only one link color


  #1  
Old May 21, 2010, 12:39 PM
Alexander
 
20 posts · Jan 2010
Foligno (PG) ITALY
I need to change the color in only one link in my header, it is possible in Atahualpa 3.4.9??

Thanks, Alex
  #2  
Old May 21, 2010, 07:24 PM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Depends on weither you can construct a unique CSS selector
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 22, 2010, 12:50 AM
Alexander
 
20 posts · Jan 2010
Foligno (PG) ITALY
Uhm... i'm thinking to use custoum fileds, but i don't know if it's possible.
The title is in a page
  #4  
Old May 22, 2010, 01:15 PM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 22, 2010, 01:25 PM
Alexander
 
20 posts · Jan 2010
Foligno (PG) ITALY
www.alexanderbrucolini.com

In the header i need to change the color of "portfolio HD"
  #6  
Old May 22, 2010, 08:42 PM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>
where the 'page-id-6' is unique for the 'Portfolio HD' page, so you can us this in th CSS selector.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old May 23, 2010, 01:10 AM
Alexander
 
20 posts · Jan 2010
Foligno (PG) ITALY
i'm tring to put this

Code:
.page_item page-item-6 {color: red}
in atahualpa (add HTML/CSS inserts ---> CSS Inserts)

but nothing is change... maybe is not right css code
  #8  
Old May 23, 2010, 06:14 AM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
that is improper CSS since they are both classes use
HTML Code:
.page-item-6 {color: red}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old May 23, 2010, 07:18 AM
Alexander
 
20 posts · Jan 2010
Foligno (PG) ITALY
I try
Code:
.page-item-6 {color: red}
Not work...
  #10  
Old May 23, 2010, 09:58 AM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;}
and if that doesn't work use
HTML Code:
.page-item-6 a {color: red !important;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old May 23, 2010, 10:20 AM
Alexander
 
20 posts · Jan 2010
Foligno (PG) ITALY
Thanks very much! the last code work fine!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to change link color in custom header widget? JFG Atahualpa 3 Wordpress theme 2 Dec 15, 2009 09:25 AM
How change link color in sidebar? Spaceboy Sidebars & Widgets 9 Nov 5, 2009 07:23 PM
Link color ireneeng New Versions, & Updating 1 Oct 30, 2009 10:47 AM
Trying to change link color on one page lilkush RSS, Feeds & Subscribing 2 Aug 11, 2009 04:02 PM
Mailpress: change post link color...can't figgure this out. d_random Sidebars & Widgets 3 Jun 10, 2009 11:11 AM


All times are GMT -6. The time now is 10:48 PM.


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