Remove padding on mobile
Can I please get some help to remove the padding on mobile: please see the problem in the following link: http://www.solarpowerpanels.net.au/solar-panels-reviews/lg-solar-panels-review/
I was going around, adding seperated section for mobile etc, but I need to create many pages and need a better solution. I tried to add the following code but it didn't work:
@media only screen and (max-width: 767px)
responsive.css?ver=20.2:420
.section_wrapper .mcb-wrap, .section_wrapper .column, .container .column, .sections_group, .four.columns {
padding: 0 !important;
}
Many thanks,
Effie
Comments
This css will not work because you have to first declare a class manually.
Since it is CSS it does not matter which version of the theme you use.
Please send us a link, screens and describe your problem.
thanks
Hi guys
Of course, first declare this special class in the page section, but it does not work.
Attached some images for better understanding
Webpage: https://bit.ly/2pFNc5z ScreenShots: https://imgur.com/a/mx3o8
Thanks so much, as always!
thanks
Added !important to my CSS statements and nothing happens.... :-(
My custom class are: my-top-padding
And my CSS code for that is:
.my-top-padding {
padding-top: 320px !important;
}
@media (max-width:767px) {
.my-top-padding {
padding-top: 0px !important;
}
}
Thanks for revisited this!
When you edit a section, you will find an option for its visibility. So you can hide this section on mobile and turn on another section that was disabled on desktop.
thanks
I refer to this white stripe:
There is nothing wrong with it.
thanks
http://prntscr.com/j14i0q
and this is on mobile:
http://prntscr.com/j14i9y
As you can see the padding stays and the background image is covering it.
All of your pages share the same behaviour.
thanks
how can I remove padding that automatically shows up?
Hello @Xerosoft1,
Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us the link.
It would be great if you also attach a screenshot of section and padding you are talking
Thanks
Hi! it is currently in developing stage on my local. here is the screenshot of what im talking.
https://prnt.sc/12taq8n
Please, open this section options, and there you will be able to set the padding to zero.
Thanks
I
I already check that part and it was set in 0
Please, turn off all of the plugins, refresh your cache, and check if this padding still appears.
Moreover, if you are using a child theme, switch to parent, and recheck it.
Thanks