SilverThrasher 0 Share Posted December 11, 2020 Site URL: https://brass-triceratops-e56d.squarespace.com Hey guys, I've been scouring the forum for help and I've gotten this far. I'm trying to scale a block of 3 images when on mobile; instead of the typical flow over like it does automatically. With the code below I've gotten them to scale on mobile but now I need them to align horizontally, any help? @media screen and (max-width:766px) { div#yui_3_17_2_1_1607657594977_302 { margin-bottom: 0 !important; } div#yui_3_17_2_1_1607657594977_302 { width: 33.33% !important; } div#yui_3_17_2_1_1607657594977_302 img { width: 100% !important; height: auto !important; vertical-align: middle; display: block; } } Link to post
0 SilverThrasher 0 Author Share Posted December 11, 2020 edited CSS... same issue presents - not aligning horizontally @media screen and (max-width:766px) { .sqs-block-content { margin-bottom: 0 !important; } .sqs-block-content { width: 33.33% !important; } .sqs-block-content img { width: 100% !important; height: auto !important; vertical-align: middle; display: block; } } Link to post
0 SilverThrasher 0 Author Share Posted December 11, 2020 Additionally now realizing that .sqs-block-content is not right either Link to post
Question
SilverThrasher 0
Site URL: https://brass-triceratops-e56d.squarespace.com
Hey guys, I've been scouring the forum for help and I've gotten this far.
I'm trying to scale a block of 3 images when on mobile; instead of the typical flow over like it does automatically.
With the code below I've gotten them to scale on mobile but now I need them to align horizontally,
any help?
@media screen and (max-width:766px) {
div#yui_3_17_2_1_1607657594977_302 {
margin-bottom: 0 !important;
}
div#yui_3_17_2_1_1607657594977_302
{
width: 33.33% !important;
}
div#yui_3_17_2_1_1607657594977_302 img {
width: 100% !important;
height: auto !important;
vertical-align: middle;
display: block;
}
}
Link to post
Top Posters For This Question
3
Popular Days
Dec 11
3
Top Posters For This Question
SilverThrasher 3 posts
Popular Days
Dec 11 2020
3 posts
Posted Images
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment