List Block Alignment
-
I want to center align a list block but do not that option. Is this customizable? If so, how? Conversely, how would I go about creating a list in the paragraph block, which does allow a center alignment.
-
Hi there,
I want to center align a list block but do not that option.A quick-and-dirty solution might be nesting it in the center column of a three column block.
how would I go about creating a list in the paragraph block, which does allow a center alignment.It would create two distinct types of blocks. A paragraph block and a list block.
Again, a quick-and-dirty solution might be to start writing your paragraph copy and when it is time to add a list pressShift + Enteron your keyboard. This would create a line break instead of a paragraph break. Then use – for the list items for example.Note: you are going to miss out on all the other styling options for the list this way.
Which brings me to my last point. The use of custom CSS. For this to work, one needs to add additional CSS class(es) from the block options and then go ahead with adding CSS code for their behaviour. Either by using a child theme or the panel through the customizer for adding custom CSS.
Hope this helps, otherwise let us know!
-
Thanks. I have managed to create a centered list using the line break command and the “Alt + 8” command for a bullet point. The bullet points are not great but it works. I have not yet played with CSS code but will work on that. Thanks for your help!
- The topic ‘List Block Alignment’ is closed to new replies.