[Resolved] Widget content padding

Home Forums Support [Resolved] Widget content padding

Home Forums Support Widget content padding

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #591969
    Zad

    Hi,

    So sorry to ask this question *again* but is there any way to change the footer widgets of just the home page to a specific space on a desktop while keeping the mobile one a specific width as was done exactly in the codes below?

    @media (min-width:769px) {
        .single.one-container .site-content {
            padding-left: 270px;
            padding-right: 270px;
        }
        .home.one-container .site-content {
            padding-left: 200px;
            padding-right: 200px;
        }
    }
    GP Premium 1.6.2
    #591970
    Zad

    But for footer widgets (three footer widgets on the home page)

    #592005
    Leo
    Staff
    Customer Support

    Hi there,

    The desktop padding can be modify through the customizer:
    https://docs.generatepress.com/article/footer-padding/

    Then use this Code below to set for mobile:

    @media (max-width: 768px) {
        .footer-widgets {
            padding: 10px 20px 30px 40px;
        }
    }

    I’ve also edited and combined your code above to save a few lines.

    #592781
    Zad

    Thank you, it worked!

    #592800
    Leo
    Staff
    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.