Font Colors
-
Hi Alex, great theme π
I tried to change the font-colors in the child-theme. But it seems not to work, even if i write “!important” afterwards.
Would be great if you could explain me where and how exactly I can make these changes.
Greg
-
Hello!
It would be great if you provided more details, for example how exactly did you try to change the color (CSS rules) and post a URL to your website π
Hi Alex, me again.
I’m trying to change the color of the “widget title” and the the color of all the links “a” in the child-css
Here’s a preview of the site:
http://mademoisellejulie.ch.copernicus.sui-inter.net/wordpress/
Hi Alex, do you have an advice for this problem?
Thank you for a short response π
Greg
You might not be able to overwrite those from child theme, since those styles are generated depending on theme settings and placed directly in <header> of the document. But your custom CSS rules should work if you use CSS Manager plugin or My Custom CSS. Try them!
Hi Alex, What kind of code in my custom css plug in? I still can’t figure out how to change color of my post titles, pagination and the green in comments sections.
eurydik,
I was having the same problem with the widget title fonts and finally fixed this after a few hours.
You need to change/add code in two places.
First go to Appearance>Editor. Choose extras.php from the right sidebar. Scroll down until you see:
Output color scheme CSS in header
Keep scrolling under that (not far) until you see:
$output .= sugarspice_css_output( ‘.widget-title em’, $accent_color);
Add a blank line under this line. Copy the above line of code and paste it in the blank line. Then change what you just pasted to say:
$output .= sugarspice_css_output( ‘.widget-title’, $accent_color);
That will make all of the widget titles the same color.
To change the widget font so the fonts are all the same when you have two words in your widget title, go the style.css on the right sidebar. Scroll about halfway down until you see:
05. Sidebar & Widgets
Scroll just under that until you see:
.widget-title {
Under that you will see background, font size, etc.
Change the font-size to 24px;
Change the font-family to ‘Niconne’, cursive;
Change the text-transform to lowercase;
That will make the fonts the same font when you have two words as a widget title. The final code for that first section should look like:
background: url(“images/border.png”) repeat-x 0 11px;
font-size: 24px;
line-height: 1.75em;
margin: 0 0 1em 0;
font-family: ‘Niconne’, cursive;
text-transform: lowercase;
font-weight: normal;
text-align: center;I hope this helps! This fixed it for me!
hi shelley
thanx a lot for this input – you helped me a lot π
Just a word of advice – if you follow above instructions all changes will be lost during theme update. You can use the CSS rules mentioned above and add them via CSS Manager plugin.
You should never edit theme files directly.Hi, Alex! Yeah – I am VERY new at this and figured that out the hard way after I posted this! I got locked out of my site due a syntax error. Anyway, I created a child theme of this theme, and then made the changes I listed earlier in the child theme. Now my site is fine!
So, eurydik – be sure to create a child theme BEFORE doing these changes. I used this tutorial that I found online to do the child theme –
I’m already working with a Child Theme.
Thank you anyway π
Ok, good, whew! I was afraid I’d screwed someone else up, and that was not my intention! I didn’t even KNOW what a child theme was until today, lol. I am learning quickly. π
The topic ‘Font Colors’ is closed to new replies.
