• Resolved razorpig

    (@mjtilbury)


    Hey all, I’m trying to remove the padding from the top of my site by adding the following code :

    #body {padding-top: 0px!important;}

    …but it’s not working :-/ If I inspect the element in Chrome and disable the “padding-top: 2em;” parameter, the gap disappears just as I want…so why isn’t my code working???

    https://www.mandodymedia.com

    Many thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Thread Starter razorpig

    (@mjtilbury)

    Hi esmi…I thought I was doing that by using the inspect element function built in to Chrome. That’s how I found the offending code…

    Thread Starter razorpig

    (@mjtilbury)

    Ah..got it!! ?? Just didn’t need the # symbol in my code. This worked :

    body {padding-top: 0px!important;}

    But thanks for your quick reply esmi. Much appreciated ??

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