[Resolved] Padding in header

Home Forums Support [Resolved] Padding in header

Home Forums Support Padding in header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1285526
    Ashin

    Hello,

    I am trying to remove some of the padding above and below my header, and I’m able to see my edits in the GP customizer area. But when I open my site in a browser, I still see the extra padding (cleared cache, tried multiple browsers). I have put 0 padding, but as you can see, there is around 20 padding at top and bottom. I had imported all these settings from an another site.

    Also, I had WP Rocket installed, but currently, it’s not activated. Every change except this padding gets implemented on the live site as well as the customizer area.

    #1285660
    David
    Staff
    Customer Support

    Hi there,

    can you make sure that the changes you make in Customizer are Published and NOT saved as draft

    #1285854
    Ashin

    It’s published. The issue is not with that, I can assure you.

    #1285891
    David
    Staff
    Customer Support

    You have a child theme that includes:

    @import url("../generatepress/style.css");

    Which is importing the GP stylesheet a second time.
    Remove that rule.

    #1292292
    Ashin

    I had temporarily ‘solved’ the issue by not having a child theme. But right now, I am compelled to have a child theme. So how do I remove this second importing of GP stylesheet?

    #1292673
    David
    Staff
    Customer Support

    Download the Child Theme from here:

    https://docs.generatepress.com/article/using-child-theme/#installing-a-child-theme

    but DO NOT add this:
    @import url("../generatepress/style.css");

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