The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to add padding ...
 
Share:
Notifications
Clear all

[Solved] How to add padding on mobile?

6 Posts
2 Users
1 Reactions
2,708 Views
Posts: 3
Topic starter
(@dashington)
Active Member
Joined: 4 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...).

5 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 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. 

4 Replies
(@dashington)
Joined: 4 years ago

Active Member
Posts: 3
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@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: 4 years ago

Active Member
Posts: 3

Thank you @asti, this is definitely much better! Will it reflect site-wide even though I only put the code on that post?..

Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@dashington,

The code changes the comment box size site-wide. 

Share: