Home Forums Unicon Centering content on the page

Home Forums Unicon Centering content on the page

  • Creator
    Ticket
  • #86606
    dcestrada1
    Buyer

    Hello – I am working with the Unicon theme and would like to use the visual editor (avoiding CSS hacks, if possible) to center a container (text box, for example) on the page without centering the text inside the container. The goal is to center an element that does not take up the whole width of the page,

    For example, centering text on the page would look like this:
    +———————+
              Text
          * Bullets
    +———————+

    What I want would look like this:
    +———————+
         Text
          * Bullets
    +———————+

    To the right and left, there would still be be padding because the text box is centered, but I want to avoid manually adding padding so it doesn’t become an issue for responsive design on smaller screens. Can you help with the cleanest approach to centering an element on the page? It would be great if there’s some kind of container that I can specify a width for and center on the page. Thanks!

Sorry, only verified customers can view ticket replies.