Hello,
I am looking to reduce the space between ‘Image with Text’ elements and I am having trouble doing so. Please see the URL https://evamedadmissions.com/pages/amcas and the elements titled ‘Personalized consultant match’, ‘Strategic advising’, etc. I would like to reduce the spacing between these and successive elements of the same class.
Thank you for any assistance!
Hello @noobify
Please use below code on assets → styles.css at the bottom to remove unwanted spaces
@media (min-width: 768px){
body#page-amcas .image-with-text.section-spacing-sm {
padding-top: 0px !important;
padding-bottom: 0px !important;
}
}
1 Like
Hi @Niraj_singh
Thank you for your solution. I should clarify that I only want to reduce the spacing between the Image with Text elements without modifying space between other elements on the page. Is there any way to do this?
Thank you for your help!
hi @noobify
This is solve for you,
You can add the short code bellow at the bottom of the assets/styles.css file:
@media only screen and (min-width: 768px){
.section-spacing-sm {
padding-top: 50px;
padding-bottom: 40px;
}
}
Hello @noobify
I just edited the code please use that which helps you to reduce space only between image and text sections
Hi @Niraj_singh ,
This worked! Thank you so much for your help! Would you mind also providing the code for making the same changes to the ‘Rich Text’ elements?
Thank you!
1 Like
Hello @noobify
yes I can help please let me know which area you referring for richtext section
@Niraj_singh under the rich text titled ‘Better service for less’
Hello @noobify
Please use below code on assets → styles.css at the bottom to remove unwanted spaces
@media (min-width: 768px){
body#page-amcas .shopify-section section-rich-text .section-spacing-sm {
padding-top: 0px !important;
padding-bottom: 0px !important;
}
}
Hi @Niraj_singh
Unfortunately, this didn’t work for the rich text. Perhaps it’s due to the top padding from the ‘text columns with media’ below?
Thank you for your help!