Notifications
Clear all

[Solved] Margin on small screen

10 Posts
2 Users
2 Likes
1,260 Views
Posts: 55
Customer
Topic starter
(@wafadul)
Member
Joined: 6 years ago

Hi! Would it be possible to adjust the left margin for small screens?

Instagram embeds don't fit and it is already out of the page.

 

insta

 

9 Replies
Astghik
Posts: 5912
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

@wafadul,

Sure, please leave some example URL to allow us to provide CSS code. 

3 Replies
Customer
(@wafadul)
Joined: 6 years ago

Member
Posts: 55

@astghik

https://bgsm.hoops.ph/forums/the-gin-kings/6-scottie-the-hustle-man-thompson/

please check Instagram & Facebook embeds. thanks!

 

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5912

@wafadul,

Try this CSS code:

@media (max-width: 991px){
iframe.instagram-media {
min-width: unset !important;
width:100% !important;
}
iframe {
width:80% !important;
}
}

The CSS code should be added in the "Custom CSS code" textarea, located in the Dashboard > Forums > Settings > Style Tab.  

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.

Customer
(@wafadul)
Joined: 6 years ago

Member
Posts: 55

@astghik

hi! it worked on the instagram posts. but i had to remove the code as it is also cutting off google ads.

 

Screenshot 3
Posts: 55
Customer
Topic starter
(@wafadul)
Member
Joined: 6 years ago

hey @astghik, what's up?

could you spare a little of your very precious time to help me with this issue?

it's been more than a week and I see countless of replies from you for other users.

do i have to pay more for support?

 

 

 

4 Replies
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5912

@wafadul,

sorry for the late response.

The current page is not available now. Could you please provide us some other example to allow us to debug the conflict? 

Customer
(@wafadul)
Joined: 6 years ago

Member
Posts: 55
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5912

@wafadul,

This one should not cause such an issue. Please use this code:

@media (max-width: 991px){
iframe.instagram-media {
min-width: unset !important;
width:100% !important;
}
}
Customer
(@wafadul)
Joined: 6 years ago

Member
Posts: 55

@astghik

 

it's all good now, thanks so much! 🙂  

Share:
Scroll to top