Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Closed] How to reduce forum margin on mobile?

5 Posts
2 Users
1 Reactions
707 Views
ldj72
Posts: 95
Topic starter
(@ldj72)
Estimable Member
Joined: 3 years ago

Hi,

I am using the QA layout.

The "Vote" button and "margin" are too large on mobile. Look at the screenshot.

How can I reduce it?

Thanks

 

4 Replies
Tutrix
Posts: 1522
(@tutrix)
Noble Member
Joined: 5 years ago

@ldj72

try

@media screen and (max-width: 680px) {
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-left {width: 40px; font-size: 10px !important;}
#wpforo #wpforo-wrap .wpfl-3 .wpf-positive {font-size: 18px;}	
#wpforo #wpforo-wrap .wpfl-3 .wpf-negative {font-size: 18px;}
#wpforo #wpforo-wrap .wpfl-3 .wpf-vote-number {font-size: 18px; line-height: 18px;}
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-left .wpf-toggle-not-answer {font-size: 20px; padding-top: 2px;}	
}

 

ldj72
Posts: 95
Topic starter
(@ldj72)
Estimable Member
Joined: 3 years ago

Hi,

Thanks, @Tutrix, it works perfectly.

Regards

1 Reply
Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1522

@ldj72 

complete the code above with

#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-right {width: calc(100% - 52px);}

should then look like this, so that the content adapts to the mobile size

@media screen and (max-width: 680px) {
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-left {width: 40px;	font-size: 10px !important;}
#wpforo #wpforo-wrap .wpfl-3 .wpf-positive {font-size: 18px;}	
#wpforo #wpforo-wrap .wpfl-3 .wpf-negative {font-size: 18px;}
#wpforo #wpforo-wrap .wpfl-3 .wpf-vote-number {font-size: 18px; line-height: 18px;}
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-left .wpf-toggle-not-answer {font-size: 20px; padding-top: 2px;}	
#wpforo #wpforo-wrap .wpfl-3 .wpforo-post .wpf-right {width: calc(100% - 52px);}	
}
ldj72
Posts: 95
Topic starter
(@ldj72)
Estimable Member
Joined: 3 years ago

thanks @tutrix