PADDING In The Blog - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

PADDING In The Blog

R

Rodenger Garibay Ramírez

Helix Framework 3 years ago

How can I modify the PADDING in the blog so that it is responsive on small screens.

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #52750

Helix is a template, otherwise you won't be able to display anything.

Use this custom CSS

//  Smartphones view
@media (max-width: 640px) {
#sp-main-body {padding: 50px 30px;}
}

BTW

I strongly recommend read more about @media in CSS manuals.

0
R
Rodenger Garibay Ramírez
Accepted Answer
3 years ago #52543

For example, so that the spaces on the sides of the blog look the same as on your website: https://www.joomshaper.com/blog/joomshaper-plan-for-sp-page-builder-3-x-series When I see it in small screen view the spaces adapt

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

Hi,

  1. you forgot to tell us what template name you have and share URL.
  2. read also: https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action
0
R
Rodenger Garibay Ramírez
Accepted Answer
3 years ago #52639

Hello, I am not using any template, only Helix, the detail is that I manage to modify the PADDING and it looks good on the PC or Laptop screen, but when I see it on small screens, it looks bad because it takes the same PADDING, for example:

sp-main-body {

padding: 100px 300px;

}

But it comes out wrong on small screens.

0