[Support request] Tablet specific padding

Home Forums Support [Support request] Tablet specific padding

Home Forums Support Tablet specific padding

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

    Hi I want to increase the page padding on tablets only. Could you tell me how to achieve this?

    I know its media queries, just not sure of the exact code.

    Also would you consider adding a tablet option to:
    Layout : container : content padding

    Thanks

    #970231
    Leo
    Staff
    Customer Support

    Hi there,

    The correct code depends on the content layout you are using.

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

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

    Let me know ๐Ÿ™‚

    #970270
    Brian
    #970335
    Leo
    Staff
    Customer Support

    Try this:

    @media (min-width: 769px) and (max-width: 1024px) {
        .one-container .site-content {
            padding: 30px 50px;
        }
    }

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

    Let me know if this helps ๐Ÿ™‚

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