Notifications
Clear all

[Solved] Instagram embed breaks layout on mobile

3 Posts
2 Users
1 Reactions
2,290 Views
Posts: 4
Topic starter
(@annabwashere)
New Member
Joined: 6 years ago

The Instagram embeds are too wide for mobile and cause the layout to break:  https://brickcentralcommunity.com/forum/challenges/the-brick-sailboat-challenge/paged/2/#

2 Replies
Astghik
Posts: 6191
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @annabwashere,

Please navigate to Dashboard > Forums > Settings > Styles admin page, add the following CSS code in "Custom CSS code" textarea, save it, delete all caches and check again. The problem should be solved.

iframe.instagram-media {
min-width: auto !important;
}

 

Reply
Posts: 4
Topic starter
(@annabwashere)
New Member
Joined: 6 years ago

Thank you! That solved it!

Reply
Share:
Scroll to top