[Resolved] set container->content padding but only for blog page

Home Forums Support [Resolved] set container->content padding but only for blog page

Home Forums Support set container->content padding but only for blog page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1011810
    bramtim

    How would I go about changing the container->content padding for JUST the blog index page?

    #1011814
    Leo
    Staff
    Customer Support

    Hi there,

    CSS is required.

    Any chance you can link us to the page in question?

    You can edit the original topic and use the private URL field.

    Let me know πŸ™‚

    #1011896
    bramtim

    I am fine with adding css. πŸ™‚

    Added private url.

    #1011897
    Leo
    Staff
    Customer Support

    Not quite sure which padding you are trying to change.

    This one?
    https://www.screencast.com/t/YY7K8jnGIF5S

    #1012058
    bramtim

    Yes exactly

    #1012061
    bramtim

    And this setting adjusts it but does it site wide, which I do no want. https://imgur.com/a/7wR2JVl

    #1012073
    Leo
    Staff
    Customer Support

    Try this CSS:

    .blog.separate-containers .inside-article, .archive.separate-containers .inside-article {
        padding: 20px 30px 40px 50px;
    }

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

    Let me know πŸ™‚

    #1012193
    bramtim

    Thanks! Had to tweak the numbers but it works great!

    #1012758
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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