[Resolved] How to center .site-content with sidebar enabled?

Home Forums Support [Resolved] How to center .site-content with sidebar enabled?

Home Forums Support How to center .site-content with sidebar enabled?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #971238
    Evgeny

    Hello,
    When sidebar layout “Content / Sidebar” is selected, .site-content div aligns to the left. I want to make .site-content being centered.

    Are there such opportunity to make it like “Empty space/ Content / Sidebar”? Where “Empty space” width is equal to sidebar width.

    Desired content position.

    Thank you.

    #971299
    David
    Staff
    Customer Support

    Hi there,

    you could simply set the page to have left and right sidebars. Then add an empty HTML Widget to the left sidebar.

    #971304
    Evgeny

    Thank you for your reply.

    So, is this the only way?
    It will be nice to have such option in future.

    #971313
    David
    Staff
    Customer Support

    The alternative is to use some CSS to add that space to the side of the main content. The CSS would be specific to your site layout so would need to see the site to advise on doing that. The above option would be simpler

    #971314
    Evgeny

    Thank you.

    #971319
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.