How align the heading?

  • 1
  • Question
  • Updated 8 years ago
  • Answered
How can i center the heading? my heading is on the left, and if i click on it i cant center i only can change the heading name...maybe something on the HTML and if it is, can someone tell me how step by step please?
Photo of André

André

  • 2 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello André

Please give this a try on a test page first and then you can apply to your actual page to make sure it works correctly for you.

1. Go to the "Properties" tab.
2. Under your page heading box, insert this code:

<!--<div align="center">your heading</div>-->

Please do not include the <!-- and -->. They are simply there to stop the code from rendering on the forum.

Please let me know if you have any trouble with this.
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
hey Sanja... although that code may work, I was told the align attribute was deprecated, the better code to use (to prevent problems in the future) would most like be...

<!--

<div style="align:center">Your Heading</div>

-->

Both codes should work the same way!
Photo of Donald

Donald

  • 2991 Posts
  • 37 Reply Likes
nearly 90% of all attributes have been deprecated, the better way to use codes is in a style attribute for design attributes (padding, margin, color, background-color, font-family, align, and so on).
Photo of André

André

  • 2 Posts
  • 0 Reply Likes
i cant write anything on the properties tab :-\ i have 2 tabs: widgets and properties, when i click on properties the tab appear all white nothing to click on it or write on it...
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Enter your code here: