The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] How to add padding on mobile?
How-to and Troubleshooting
(@dashington)
Active Member
Joined: 5 years ago
I've recently installed the plugin, and my only issue is with the width/lack of padding on the mobile view! This is a real shame - is there a way to fix this? (If it was in a nice neat container, that would be even better...).
(@asti)
Illustrious Member
Joined: 8 years ago
Hi @dashington,
This is just a CSS conflict with the theme or other plugins. Please leave some example URL to allow us to debug the conflict and provide some solution for you.
(@dashington)
Joined: 5 years ago
Active Member
Posts: 3
Jun 29, 2020 8:21 am
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8195
Jun 29, 2020 8:28 am
@dashington,
Please use this CSS code:
@media screen and (max-width: 600px){
#comments, #respond {
padding-left: 10px !important;
padding-right: 10px !important;
}
}
Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.
You can change the red marked values before using it.
Also, please try on incognito mode if you're checking on mobile devices. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.
(@dashington)
Joined: 5 years ago
Active Member
Posts: 3
Jun 29, 2020 8:57 am
Thank you @asti, this is definitely much better! Will it reflect site-wide even though I only put the code on that post?..
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8195
Jun 29, 2020 9:07 am
@dashington,
The code changes the comment box size site-wide.