Site logo

[Resolved] how to set margins for blog posts on blog page and categories archive

Home Forums Support [Resolved] how to set margins for blog posts on blog page and categories archive

Home Forums Support how to set margins for blog posts on blog page and categories archive

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

    Hi,

    Is there a setting in customizer to set left/right margins for blog posts on blog page & category archives?

    without touching margins for sidebar, I’m trying to set left/right margins for blog posts on blog and archives.

    I think there is a setting for this in customizer ’cause developer tools show one specific css for this (which I override manually)

    but I’m unable to find it? Could you shed some light on this?

    I added pic.

    #2462813
    David
    Staff
    Customer Support

    Hi there,

    With the Apearance > GneraetePress > Spacing module active, you can set the Spacing in Customizer > Layout > Container – but it will apply to all container spacing.

    If you only want to affect a certain space then it will require CSS. Let me know.

    #2463178
    Halil

    thanks David,
    this is what I wrote and it seems working.

    .one-container.right-sidebar .site-main, .one-container.both-right .site-main {
        margin-right: 40px !important;
    }
    #2463815
    David
    Staff
    Customer Support

    Glad to hear you got it working !

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