Too Much Padding On Main Page - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Too Much Padding On Main Page

JT

Jay Thistle

Helix Framework 3 years ago

Hi there, I want to reduce the amount of padding at the top of the main body from 100px to 20px and added this code to the custom code of the template parameters but it is not changing it...

sp-main-body {

padding: 20px 0; } I have added this same code to a few other sites I built using the Helix template to reduce that same padding and they are fine. Can you assist?

0
2 Answers
JT
Jay Thistle
Accepted Answer
3 years ago #93254

Great...that works. Thanks so much for your speedy response.... Jay

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #93251

Hi Jay,

indeed that CSS code

#sp-main-body {
  padding: 20px 0;
}

is fully correct, but inside your Custom CSS you used it only for Mobile view @media (max-width: 576px){ ... } and then work!

If you want to use it on all views, use that line above @media...

foto_9126_2022.png

0