How can I set up Heading style and Field style in my article templates?

Tele
Kilo Contributor

Hello,

How can I set up Heading style and Field style in my article templates?

Thank you much

6 REPLIES 6

Hi Amber - Not sure if you already found your answer, but based on the article, if you didn't specify in the Header style the CSS for padding and margin, then it will automatically use what you specify in the Field style. If you specify padding: 0px and margin: 6px 0px for Header, then the header should not have any padding but will put a top/bottom margin of 6px and a left/right margin of 0px. The field style will then use whatever you specified there.

 

The CSS Margin page on W3 schools, specifically the Margin - Shorthand Property section explains very well how to configure top right bottom left margins in a way that can quickly apply the same margin to all sides or particular sets of sides as desired (same applies to Padding).

 

Hope this helps.

Tele
Kilo Contributor

Thank you much, it was verry helpful.