Page 1 of 1

how do I change the font weight for text?

Posted: Tue Jan 20, 2015 11:25 am
by Joe Sharples

I have a few labels in a grid which is in a list component.

I'm wanting to change the font weight to 'lighter'

I've tried adding it under more properties but it didnt work.

any ideas?


how do I change the font weight for text?

Posted: Tue Jan 20, 2015 11:59 am
by Alena Prykhodko

Hi Joe,

Use CSS rule to change it http://www.w3schools.com/css/

Don't forget to write rule that will override theme's default CSS styles
http://css-tricks.com/specifics-on-cs...


how do I change the font weight for text?

Posted: Mon Feb 02, 2015 2:28 pm
by Joe Sharples

Hi Alena,

Can you explain how to do this further please?

I tried changing the global font weight in the theme editor but I didnt work.

pre/* Globals */

/* Fonts */

html {
font-size: 100%;
font-weight: lighter;

}/pre

Thanks,
Joe


how do I change the font weight for text?

Posted: Mon Feb 02, 2015 2:37 pm
by Evgene Karachevtsev

Hello Joe,

Please try add this rule as it is shown here:
http://devcenter.appery.io/documentat...


how do I change the font weight for text?

Posted: Wed Apr 08, 2015 9:24 am
by Joe Sharples

.ui-btn {
font-weight: lighter;
}

This changes all the btn font weight.
how do I change all labels? and other components?


how do I change the font weight for text?

Posted: Wed Apr 08, 2015 12:35 pm
by Illya Stepanov

Hi Joe -

Inspect using browser developer tools and select the appropriate class for the needed element.


how do I change the font weight for text?

Posted: Wed Apr 08, 2015 4:06 pm
by Joe Sharples

Thank you


how do I change the font weight for text?

Posted: Tue Apr 28, 2015 4:12 pm
by Joe Sharples

Resolved:

pre
[data-role="appery_label"] {
font-weight:lighter !important;
}
/pre