Shopify themes, liquid, logos, and UX
Hi there,
Im trying to close the gaps between my content blocks/sections on my home page and another page.
https://www.tryy.co.uk/pages/thank-you-page
password - help
Any help is appreciated
Solved! Go to the solution
This is an accepted solution.
Hi @Jferguson1
check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.section + .section {
margin-top: 0px;
border: 0px;
}
.section-template--21069259473236__image_with_text_mNek7b-padding.gradient.color-scheme-a2999bb8-bfc3-412f-bfe8-3bdff5efbd2b {
padding-top: 50px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
This buttons adjustment only for mobile right? Check this one then.
Same Instruction.
@media only screen and (max-width: 749px){
body .image-with-text__content .image-with-text__text + .button {
margin-top: 0px !important;
}
div#ImageWithText--template--21069259473236__image_with_text_mNek7b {
padding-top: 0px;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
please add below css into your theme files base.css file at the end
Online Theme > Editcode > Assets folder > base.css file
@media screen and (min-width: 480px) {
.section + .section {
margin-top: 0 !important;
}
}
thanks
This is an accepted solution.
Hi @Jferguson1
check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.section + .section {
margin-top: 0px;
border: 0px;
}
.section-template--21069259473236__image_with_text_mNek7b-padding.gradient.color-scheme-a2999bb8-bfc3-412f-bfe8-3bdff5efbd2b {
padding-top: 50px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thats perfect thank you very much - Do you know how I could move the button higher up the page?
Thanks again
@Jferguson1 you can use margin in minus or may be position to change its place. thanks
This is an accepted solution.
This buttons adjustment only for mobile right? Check this one then.
Same Instruction.
@media only screen and (max-width: 749px){
body .image-with-text__content .image-with-text__text + .button {
margin-top: 0px !important;
}
div#ImageWithText--template--21069259473236__image_with_text_mNek7b {
padding-top: 0px;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Amazing, thank you very much 🙂
Welcome, please dont forget to hit like also.. Thanks!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025