Home › Updates

Updates

How to create centred, short paragraphs using predefined styles and no coding

 June 26, 2017
by Flavio Mester

Centred text

Centred text with a fixed width

There are cases where you may want to have centred text with a short line length. For instance, an introductory paragraph of a Home page that has been set to stretch to the full width of the browser window. Simply centering the text may not be enough because the lines would be too long, which isn’t good for readability. And if you have the line length of paragraphs limited globally in the Design settings, the text would appear off centre in relation to the overall page layout.

For situations like that, rather than adding CSS styles by hand, you can now use a predefined style. Simply select it from the pulldown menu available in the content block’s Advanced options. Notice that since the width is set in em’s, you may need to break a header text and the normal text into 2 separate content blocks, each with its respective width set in em’s.

The content block option

The content block option

 


Flavio Mester

Flavio Mester is a graphic designer as well as a systems analyst (in a distant life he was an architect). A founding partner of Your Web Department, he's responsible for the design and development of all the YWD website management platform interfaces.
Google+ | Twitter | LinkedIn

 


  

 

 
Top of page