• Resolved alliberry90

    (@alliberry90)


    Hi,

    I’m working on a site for a friend, and I’m having an issue with padding above the #page. When I inspect, it says I have a padding of 172px, which explains the space, but I can’t figure out how to fix it in my code. I’m using a child theme, and I’ve tried all combinations of #page {padding-top: 0px;} I can think of. Some help would be really appreciated!

    The site is here: https://gritvisual.com/

    Thanks so much,
    Alli

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try adding this to the end of your child theme’s style.css:

    #page.hfeed { padding-top: 0px !important;}

    The ‘!important’ is necessary because an earlier rule was also specified ‘!important’, and you must use it if you want to override that rule.

    Thread Starter alliberry90

    (@alliberry90)

    Perfect, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Padding fix’ is closed to new replies.