deabru Posted March 1, 2023 Share Posted March 1, 2023 I have tried a bunch of different CSS code from the offered answers here, but I cannot seem to resolve this space issue. How do I correct these images so that they line up along the centre line? I believe this is an image margin issue, but the codes I have tried are not working. Link to comment
Mdhanjal Posted March 2, 2023 Share Posted March 2, 2023 share site url pls? deabru 1 Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me, Email me here: - mandeepsquarespace@gmail.com Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024 Behance: - https://www.behance.net/mandeepSquarespace Best Hourly Rate: - $15 Per Hour Link to comment
deabru Posted March 3, 2023 Author Share Posted March 3, 2023 On 3/1/2023 at 10:09 PM, Mdhanjal_Squarespace said: share site url pls? https://theradiancerituals.com/in-person Link to comment
Mdhanjal Posted March 5, 2023 Share Posted March 5, 2023 Add an Image Card to any page section. Make sure the Image Card is by itself in this section – do not add any additional blocks. Set the page section’s format settings to the following: Section Height: 10 Content Width: Large Content Alignment: Middle Once the page is saved, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box. // Full Width Image Card - Page Section // [data-section-id="012345"] { overflow-x: hidden !important; overflow-y: hidden !important; .content-wrapper { padding: auto !important; margin: 0px auto; display: contents; } .sqs-layout .sqs-row .sqs-block { padding-bottom: 0px !important; padding-top: 0px !important; }} // Full Width Image Card - Text Padding // .image-card-wrapper .sqs-dynamic-text-container { padding: 40px !important; } // Full Width Image Card - Mobile Stack // @media (max-width: 800px) { .design-layout-card { flex-direction: column !important; .image-card-wrapper, .intrinsic { width: 100% !important; }}} Next, you’ll need to locate the page section’s ID. Use this free Google Chrome Extension to find this ID. Replace [data-section-id="012345"] with the page section’s ID. This will make the page section full width, resulting in the Image Card Block being full width as well. deabru 1 Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me, Email me here: - mandeepsquarespace@gmail.com Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024 Behance: - https://www.behance.net/mandeepSquarespace Best Hourly Rate: - $15 Per Hour Link to comment
Solution deabru Posted March 13, 2023 Author Solution Share Posted March 13, 2023 So I found a solution that did not require any CSS. In the "Edit Section" there is an option called "Gap" - the horizontal is preset to "11" and when updated to "0" the gap between content blocks disappears and they line-up at the center. 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