[Resolved] Padding/ margin issue on mobile on sidebar widgets

Home Forums Support [Resolved] Padding/ margin issue on mobile on sidebar widgets

Home Forums Support Padding/ margin issue on mobile on sidebar widgets

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1187537
    Hafsa

    https://prnt.sc/rcu00n
    ON MOBILE only – Please advise on how I can keep the same padding/ margins for the sidebar widgets as for the main containers (20px)?
    Thanks

    #1187573
    Hafsa

    Also, on mobile, is there a way to move the sidebar widgets ABOVE the content containers?
    https://prnt.sc/rcuslr – Need to move these two sidebar widgets to the very top.

    #1187608
    Hafsa

    Displayin sidebar widget on top has been figured.
    https://generatepress.com/forums/topic/change-order-on-mobile/#post-157121

    #1187796
    David
    Staff
    Customer Support

    Hi there,

    try this CSS for adding padding around the sidebar widgets on mobile:

    @media (max-width: 768px) {
        #right-sidebar {
            padding: 0 30px;
        }
    }
    #1188016
    Hafsa

    Thanks

    #1189299
    David
    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.