Premium support

Please log in to post in these forums. If you didn't create an account when you purchased, please contact us.

Free support

If you haven't purchased GP Premium, support for the free theme can be found on WordPress.org.

[Resolved] Adjust the Separating Space Sidebar and Main Content Area Only

Home Forums Support Adjust the Separating Space Sidebar and Main Content Area Only

This topic contains 3 replies, has 2 voices, and was last updated by  Leo 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #462287

    Hi,

    Is there any way to adjust the separating space between the right sidebar/widgets and the main body without it affecting the spacing on the top and bottom of the elements?

    Right now if I add separating space, I get it on 4 sides. I just want more air between the sidebar and the main content area.

    Thanks!

    GP Premium 1.5.6
    #462435

    Leo
    Staff

    Hi there,

    The easier way would be to use the customizer option to adjust space so it’s what you wanted between the sidebar and main content, then use CSS to adjust the top and bottom:

    .right-sidebar.separate-containers .site-main,
    .separate-containers .inside-right-sidebar,
    .separate-containers .widget {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Want to help support GP? Please consider leaving us a review!
    https://wordpress.org/support/theme/generatepress/reviews

    #462576

    Hi,

    Thanks, that seems to work! I had to add !important, however.

    Cheers

    #462661

    Leo
    Staff

    Glad it’s working!

    Want to help support GP? Please consider leaving us a review!
    https://wordpress.org/support/theme/generatepress/reviews

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.