Change Site Text Color

kcoonce's picture
kcoonce
Mon, 03/07/2016 - 16:50
#1
Change Site Text Color

Hello,

I am trying to change the text color of avendor.  I would like to make it a little darker, as is sometimes hard to see.  I tried going to Administration >> Appearance >> Settings >> Text & Typography and then changing the text color to #141414, but the text on all the pages stays the same.  Is there a specific css file or specific way that I should be going about this?

Thanks.  

phuonght's picture
phuonght
Mon, 03/07/2016 - 23:22

Hi,

Please open file md_avendor\sites\all\themes\md_avendor\theme_setting\front\html.preprocess.inc, line 186

// Text & Typo
$typography = '';
// common text
if (theme_get_setting('text_font') || theme_get_setting('ts_font_color')) {
$typography = "body {";
$typography .= md_ambrosia_font_to_css(theme_get_setting('text_font'));
if (theme_get_setting('ts_font_color')) {
$typography .= 'color: #' . theme_get_setting('ts_font_color') . ';';
}
$typography .= "}\n";
}

remove "#" at color section and save.

Then you can change/ edit text color in theme settings normally.

kcoonce's picture
kcoonce
Tue, 03/08/2016 - 17:33

Thank you.  That worked.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.