Notifications
Clear all

wpForo 1.x.x [Solved] Padding Issue

3 Posts
2 Users
2 Likes
1,167 Views
Posts: 8
 Ash
Topic starter
(@ash)
Active Member
Joined: 5 years ago

Hi,

I have wpForo and on mobile, there is quite a bit of padding on either side which makes it look really narrow. Is there a way to fix this without it changing anything on a desktop/laptop?

I know someone else had an issue with this but the solution for them didn't work for me unfortunately.

https://adminloop.com/forum

Thanks

2 Replies
Sofy
Posts: 4233
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @ash,

Please add the following CSS code in Dashboard > Forum > Settings >  Stylys > "Custom CSS code" textarea. Save it, delete all caches and check again. 


@media (max-width: 320px){
.container {
min-width: 100% !important;
}
}

@media screen and (max-width: 620px){
#wpforo #wpforo-wrap {
padding: 10px 1px !important;
}
}

Use private browser session to check in mobile, mobile browser cache is very hard. On the PC just press Ctrl+F5 do delete browser cache.

Posts: 8
 Ash
Topic starter
(@ash)
Active Member
Joined: 5 years ago

Worked @Sofy. Thank you very much 🤩