Zanthemum Posted April 27, 2021 Share Posted April 27, 2021 Site URL: http://supportwise.squarespace.com Site: http://supportwise.squarespace.com Password: supportwise For some reason I cannot seem to get the 'collage' images that are right aligned to be centred on mobile. I have used this code which worked to centre the left aligned images. @media (max-width: 640px){ div .sqs-block-image .image-block-outer-wrapper.image-block-v2 { flex-direction: column !important; display: flex !important; align-items: center !important; } } Is there a reason that the other images are still right aligned on mobile? This is how they look on the desktop version of the site: And this is how they look on mobile: Link to comment
Agha_Waqas Posted April 27, 2021 Share Posted April 27, 2021 1 hour ago, Zanthemum said: Site URL: http://supportwise.squarespace.com Site: http://supportwise.squarespace.com Password: supportwise For some reason I cannot seem to get the 'collage' images that are right aligned to be centred on mobile. I have used this code which worked to centre the left aligned images. @media (max-width: 640px){ div .sqs-block-image .image-block-outer-wrapper.image-block-v2 { flex-direction: column !important; display: flex !important; align-items: center !important; } } Is there a reason that the other images are still right aligned on mobile? This is how they look on the desktop version of the site: And this is how they look on mobile: Hi. Add this code into CSS editor @media (max-width: 600px) { .sqs-block-image .design-layout-collage.sqs-narrow-width.image-position-right .intrinsic { left: 0 !important; } } Link to comment
Zanthemum Posted April 28, 2021 Author Share Posted April 28, 2021 19 hours ago, Agha_Waqas said: Hi. Add this code into CSS editor @media (max-width: 600px) { .sqs-block-image .design-layout-collage.sqs-narrow-width.image-position-right .intrinsic { left: 0 !important; } } That worked, thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment