How-To: "replace-the-default-font-in-the-elemental-theme", without changing concrete5 interface
Permalink
i work with the very useful How-To:
http://www.concrete5.org/documentation/how-tos/designers/replace-th...
in the preset i changed the <p> - tag to a my desired webfont. but it also changes the fonts in the concrete interface.
i.e. the areas in the edit mode are now in my webfont.
for readability reason i would like to keep the concrete5 interface in the helvetica, arial, sanserif font.
how would i do this?
thanks in advance
blink
http://www.concrete5.org/documentation/how-tos/designers/replace-th...
in the preset i changed the <p> - tag to a my desired webfont. but it also changes the fonts in the concrete interface.
i.e. the areas in the edit mode are now in my webfont.
for readability reason i would like to keep the concrete5 interface in the helvetica, arial, sanserif font.
how would i do this?
thanks in advance
blink
If your webfont is changing the font of the concrete5 interface it means you are using global CSS styles that are not "scoped".
I recommend reading the following articles.
Greedy Styles
https://www.concrete5.org/documentation/developers/5.7/designing-for...
Easily scope CSS using LESS or SASS
http://www.concrete5.org/documentation/how-tos/designers/easily-sco...