[Resolved] separate padding settings for page and post content

Home Forums Support [Resolved] separate padding settings for page and post content

Home Forums Support separate padding settings for page and post content

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #280077
    Jasper

    On a site i use elementor to build oages, but i like to use the standard blog layout of elementor. I have set the padding for content to 0 because elementor includes a padding already.
    However on the blog pages there is no left/right padding and on mobile this does not look nice. When i add padding, the padding is also added to the pages content padding and there it is too much.

    Is it possible to add to the customizer seperate settings for paddings on blog pages? Both normal and mobile?

    Regards, Jasper

    #280199
    Leo
    Staff
    Customer Support

    Hi Jasper,

    Are you talking about the single post pages or the main blog page?

    Can you provide a link to the site? It would be easier for me to give you some CSS.

    #280205
    Jasper
    #280221
    Leo
    Staff
    Customer Support

    Try this CSS:

    @media (max-width: 768px) {
        .blog .site-content {
            padding: 0 10px;
        }
    }

    Let me know.

    #280340
    Jasper

    great, thanks

    #280370
    Leo
    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.