How to center align the heading in the articles?
  • 03 Aug 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How to center align the heading in the articles?

  • Dark
    Light
  • PDF

You would want to center align the heading in the articles. You can easily perform this action in Document360 with the help of Custom CSS.

This action will change the alignment of all the headings (H2, H3, and H4) to center alignment.

Solution

  1. Go to SettingsKnowledge base siteCustom CSS & JavaScript, and Custom CSS tab is the default selection
  2. Paste the below snippet in the window
H2,H3,H4{
text-align:center;
}

  1. Click Save

Was this article helpful?