Changing color of links
-
Is there a way, possibly using CSS, to change the color of certain links but not all? I recently switched to a new theme, and the links are the same color as the rest of the text, and cannot be distinguished other than by hovering the mouse over them. I tried changing the link color using CSS code, but it changed every single link over the whole blog, including the menu bar and the sidebar. I would like, if there is a way, to change the color of the links in the posts only, but leave the menu bar, sidebar links, and blog title the way they are now.
My site is: http://www.richardedmondson.net
The blog I need help with is: (visible only to logged in users)
-
Hi there, currently I’m seeing your links as a light brown in your content. Did you change to a different theme?
We can target the links only in the content area, but I will need to know which theme you are planning on using.
-
Hi Sacredpath. No it’s the same theme. I just got to playing around with the buttons, and finally came up with something I liked. So I think I’m going to leave it this way. But I do have another problem I would really love to ask your help with. I’m trying to lighten the background on the static pages similar to the way I have lightened it in the posts, i.e. from a sort of cream-in-your coffee color to a light beige. I was able to do that by pasting the following code in the CSS editor:
.post {
background: rgba(255,255,240,1);
padding: 10px;
margin: 0 0 2.1em;
}As you can see it lightened up the background on the posts and provided a little more contrast between the background and the gray text. Is there a way to do the same for the background on my two static pages? I would like to have the sidebar remain the darker tan color, but I would like to adjust the background on the text to the lighter beige color.
- The topic ‘Changing color of links’ is closed to new replies.