Changing Post/Page Hyperlink Color in LondonLive Theme
-
Hello WP Forums,
I am attempting to update the hyperlink color for content within posts/pages only for my site using the LondonLive theme (https://themeforest.net/item/london-live-3-in-1-news-magazine-and-blog/154462) and have been given some code to add to style.css by the theme’s developer:
#left div.single div.content a:hover, #page div.entry-content a:hover, #left_no_sidebar div.entry-content a:hover{color:green !important;}
as well as:
a:hover{color:red !important;}
a:link{color:#0000FF !important;}
a:visited{color:#800080 !important;}When adding any of the (3) lines above, the setting is applied to the entire site, which is fine for the hover color, but we want to restrict the link/visited color to only within the content found on pages/posts, not the entire site (admin bar, menus, footer, sidebar, widgets, etc.).
The style.css reads as follows:
[CSS moderated as per the Forum Rules. Please just post a link to your site.]
Thank you in advance for any assistance!
- The topic ‘Changing Post/Page Hyperlink Color in LondonLive Theme’ is closed to new replies.