|

Css in V4
Posted 15 July 2013 - 08:09 AM #1
How can i change body font to 12px without changing it in admin backend in themes? I tryied change font size in scheme.less, i added body { font-size:12px} into styless.css but no change (rebuild chache is on).
Posted 15 July 2013 - 08:56 AM #2
There are a whole series of styles that pickup that font size so it's not as easy as changing the body as the later styles override it.
If you use the CSS inspector (firebug etc) in your browser you'll see which styles are affected.
Posted 15 July 2013 - 09:21 AM #3

Why don't you want to change it in the theme designer? That's what it's there for.
There are a whole series of styles that pickup that font size so it's not as easy as changing the body as the later styles override it.
If you use the CSS inspector (firebug etc) in your browser you'll see which styles are affected.
Posted 15 July 2013 - 10:06 AM #4
You could try using the !important tag to override the other styles.
Posted 15 July 2013 - 10:41 AM #5
I did raise a bug report during the beta stage that 13px fonts couldn't be selected and they did mark it as being added to the release version but it's still not there and the bug report seems to have been deleted.
You could try using the !important tag to override the other styles.
Posted 15 July 2013 - 10:49 AM #6
Posted 15 March 2014 - 01:09 PM #7
To find out which .less file you have to edit:
1. Change CSS in satori.less, upload file
2. delete /var/cache/
3. Reload website to trigger recompiled .css
4. check css file to see if your change shows up