Color Text / Hemingway rewritten Theme
-
Hi everybody, (and sorry for my english)
I tried to find an answer in the forum and elswhere but nothing appeared for me.
I want to change the color of my menu and my titles. I tried different things but nothing worked.
I managed to change my global color text with :
body {
color: black;
}That is working.
I thought i could change titles color with :
h1 {
color: red;
}But it didn’t work.
So my questions are :
What code can i put in the CSS to change color text of my menu ?
Same question for my title’s post ?
Thanks everyone
SamThe blog I need help with is: (visible only to logged in users)
-
Hi there, h1 is a very general CSS rule, and most of the titles and such in themes will have more specific CSS rules to style them. In General, the h1 to h6 rules will apply to the headings within the content of pages and posts.
For changing the color of page and post titles (non-hovered) this would be the CSS rule. You can edit the color code as desired.
.entry-title, .entry-title a, .entry-title a:visited, .comments-title { color: #2d2d2d; }The background color for the menu would be here.
.main-navigation { background: none repeat scroll 0 0 #1d1d1d; }The non-hover text color of the menu would be this CSS rule.
.main-navigation a, .main-navigation a:visited { color: #cccccc; } -
-
-
This is working :
`main-navigation a, .main-navigation
li:hover > a {
color: #0a7ce0;
}Is this a valid code ?
Thx
-
Nice job, and yes, it is. Sometimes there are more ways than one to write the code and get the result you want. :)
- The topic ‘Color Text / Hemingway rewritten Theme’ is closed to new replies.