Text not inheriting weight style from section or direct parent

Hi,

This maybe me being stupid but I cant get the font style to inherit weight from a parent container. The colour and font seem to inherit but not the weight.

The weight style is shown as being picked up but is not displaying correctly. It should be a thin weight but is displaying normal even though style says thin.

Read-Only Site

On the homepage I am trying to set the weight in the hero section instead of the text elements, even if I try to set on the hero text container it does not work.

Is this by design or am I missing something.

Thanks John

You are running up against CSS specificity. The declaration of font-weight bold on all headings is taking precedence. Simply apply your desired weight to the hero-heading class.

1 Like