Page 1 of 1

Filtered css items

Posted: Thu Mar 05, 2020 9:23 pm
by colin1661music
Does anyone know why css parameters are filtered out?

This only seems to happen in headings <h1> etc.

Image

Re: Filtered css items

Posted: Thu Mar 05, 2020 9:37 pm
by Pablo
This is because 'Roboto' is a Google Fonts. The font weight is determined by the name of the font family.

Re: Filtered css items

Posted: Thu Mar 05, 2020 10:04 pm
by colin1661music
Thanks Pablo, but in the css editor the font is Roboto thin.

I don't get this problem if I don't use a header style but I'm trying to improve my clients SEO and google wants a <h1> style on the page.

Image

Colin

Re: Filtered css items

Posted: Fri Mar 06, 2020 6:58 am
by Pablo
The behavior is correct.
'Roboto Thin' is just a variant of Roboto with font-weight 100. That is how Google Fonts works.

Re: Filtered css items

Posted: Fri Mar 06, 2020 8:40 am
by colin1661music
Hi Pablo,

I managed to fix this by loading my own css styles (mystyles.css), I think the problem is caused becauce WYSIWYG in heading styles sets the font weight to normal.

If you want me to document this in more detail I happy to do so.

Thanks for you amazing progeam.

Regards Colin

Re: Filtered css items

Posted: Fri Mar 06, 2020 8:50 am
by Pablo
In styles, you cannot select a 'thin' font and at the same time set bold to false. This is not correct.
In your style the 'bold' property should be empty.

thin => font-weight =100
bold/false = > font-weight = 400 = normal
bold/true = > font-weight = 700

Re: Filtered css items

Posted: Fri Mar 06, 2020 8:57 am
by colin1661music
Thanks for the tip, I set that because I was trying to get this to work.