19blue Posted June 14, 2021 Share Posted June 14, 2021 Site URL: https://www.mgadv.no/kontakt Hi anyone, 1. Trying to control the size of the circles on mobile to match the edited image. 2. Also hoping to align the circles (image card) to the type (vertical: center, horizontal: left.) 3. The image of the building is sometimes scaling down and not aligning to the other elements, how can i force it to stay aligned to page margins. Left image is current, right image is desired layout. any help much appreciated. Thank you. Link to comment
Wolfsilon Posted June 14, 2021 Share Posted June 14, 2021 Hello, You can reduce the width of the blocks on mobile for the circle images and caption by using the code below. section[data-section-id="601c878e78a1067166d81580"] { @media only screen and (max-width: 640px) { #block-yui_3_17_2_1_1612735498763_6718, #block-yui_3_17_2_1_1612735498763_8361 { width: 50% !important; } } } Taking a look at your website regarding the alignment issues, it appears that you have some CSS limiting the size of the building image to 300px at a previous screen-size media query. By Removing: section[data-section-id="601c878e78a1067166d81580"] { @media only screen and (max-width: 769px) { .sqs-block-image-figure.intrinsic { max-width: 300px !important; } } } From your Custom CSS. The image will shift to the left and fill the block. The content should be aligned properly now. Hope this helps! -Dan Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.