Tagged: link color
-
AuthorPosts
-
August 25, 2015 at 1:53 pm #492919
Hi,
I want only the links to have this color: 5d8295
but when I add it to General Styling – Primary color – Font color for links, dropcaps and other elements it overrides the color I set for text like you can see here: http://www.airlinestaffrates.com/bahamas-grand-lucayan-bahamas-3/I have set another color for Grand Lucayan Bahamas but the link color overrides it.
What code shall I add in order to just keep the links with this color: #5d8295
Thanks
CharlotteAugust 25, 2015 at 4:45 pm #493074Hi Charlotte!
You can use the below css to apply the link color change to paragraphs only:
p a { color: #5d8295 !important; }
If you want it to be page specific you can use page-ids like the example below:
.page-id-324 p a { color: #5d8295 !important; }
Best regards,
DakeAugust 25, 2015 at 5:51 pm #493125thanks, but I don´t see any different after I was adding this code:
p a {
color: #5d8295 !important;
}It still overrides the color I have set manually in a post and this happens to bold text.
August 25, 2015 at 7:12 pm #493161Hi!
That’s strange. It sounds like there may be another conflict elsewhere.
May we have temporary access to your website so we can take a closer look?
Cheers!
DakeAugust 25, 2015 at 8:39 pm #493209Thanks..
- This reply was modified 9 years, 4 months ago by charlotteraboff.
August 26, 2015 at 3:34 am #493276Hi!
I tried logging in with the credentials you provided, but I’m getting an invalid username error.
Best regards,
DakeAugust 26, 2015 at 8:46 am #493350Ah sorry, try now.
August 27, 2015 at 5:55 am #493924Hey!
I checked the site and the link color (#5d8295) is being applied:
Contact: (Email address hidden if logged out) www.grandlucayan.com
Cheers!
IsmaelAugust 27, 2015 at 7:12 am #493943Well, I know that!
But as i tried to explain I don´t want the bold text to also have the link color.
How can I change that?
August 27, 2015 at 4:39 pm #494307Hey!
You can change the color of bolded text by using the below css.
strong { color: #000000 !important; } .page-id-16847 strong { color: #000000 !important; }
The css with the page-id will apply to the “BAHAMAS – Grand Lucayan Bahamas” page only.
Regards,
DakeAugust 28, 2015 at 4:55 pm #494985Ok, thanks… but I need it to apply to all blog post.
August 28, 2015 at 5:26 pm #495015Hi!
If you want it to apply to all blog posts then you can use this css:
strong { color: #000000 !important; }
Regards,
DakeAugust 30, 2015 at 1:12 pm #495456oK.. thanks.
August 30, 2015 at 3:59 pm #495472Hi!
You’re welcome :)
Please let us know if you ever need help in the future.
Best regards,
Dake -
AuthorPosts
- The topic ‘Link color’ is closed to new replies.