We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to change or drop (hardcoded?) padding for #sp-main-section?

Featured Lock Resolved Issue
Hi,

I noticed SPPB is adding hardcoded CSS padding to #sp-main-section. There seems to be no way to change this, unless you add custom CSS with !important to the page in question. (Leaving out !important will not work, as the hard coded CSS follows the custom CSS and overloads.)
Although this works as a valid work-around, it is a certified PITA for having to do this for all pages.

My questions:
1. How did this code get here? I can't grep it in the sources or template (ensure), and AFAICT there is no way to set this in the page options. I did import page templates.
2. Is there a better way to get rid of this unwanted inclusion?

Thanks in advance for your answer.

2 Answers

EduSense

More than a month ago #Permalink
Never mind, I found the answer myself. Ensure has the padding set in the default layout. Using Template Options/Layout Builder, I was able to reset it.

Sorry for the noise. Hopefully this will help someone else.

Rashida Rahman - Staff

More than a month ago #Permalink
Hello,
Thanks for your query and solution too:)

Best Regards


There are no replies made for this post yet.
Be one of the first to reply to this post!

124

Templates

331648

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us