This topic is locked
[SOLVED]

 Using Web Font as default

11/24/2015 4:04:22 AM
PHPRunner General questions
R
rockrockers23 author

.

Is there a way to change/overwrite the default Font on every layout Global design?
Tried the ff:
1. I tried it using my external style but seems like needed to be on the project design but then I can't add my web font on the Global->"Font set" dropdown selection.

-- **.
2. Tried this one: How to change font in "edit" controls and applied #3 option (updating the generated css). The problem is it will be overwritten when the project is rebuild.
3. Or is external style will do? ( I maybe doing it the wrong way)
[size="1"]

I want to use google Roboto web font[/size]

Sergey Kornilov admin 11/24/2015

Use Custom CSS for this purpose on Style Editor screen. See some ideas at http://xlinesoft.com/blog/2013/12/04/more-custom-css-tricks/

R
rockrockers23 author 11/24/2015



Use Custom CSS for this purpose on Style Editor screen. See some ideas at http://xlinesoft.com/blog/2013/12/04/more-custom-css-tricks/


Thank you. I tried this:
Added Link to google web font on the head. Then:

body{

font-family: 'Roboto', sans-serif!important;

}





but it only applies to few.

Do I have to add every IDs and Classes to make the Web Font applies to all? Seems like the every button, Div etc.. on every layout has inline defined font-family..

Sergey Kornilov admin 11/24/2015

No, you just need to specify all tags you want to apply this font to:

body, a, p , div, span, td {

font-family: 'Roboto', sans-serif !important;

}
R
rockrockers23 author 12/12/2015



No, you just need to specify all tags you want to apply this font to:

body, a, p , div, span, td {

font-family: 'Roboto', sans-serif !important;

}



Thank you. It works.