Shopify themes, liquid, logos, and UX
I need to decrease the padding here so that it doesn't look so unnatural in the space that it's in:
Thank you
Hey @lukafernada
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.banner__buttons {
margin-top: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
sorry no, maybe i should have rephrased what I wanted. I just want the SHOP NOW buttons to be further up from the bottom of its section. Can you help?
Hi @lukafernada
check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.banner__box>*+.banner__buttons, .image-with-text__content .image-with-text__text+.button {
margin-top: .5rem !important;
}
And save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
yeah thats good, but how do i move the link box away from the bottom? so that it looks nice and spaced out
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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.
<style>
@media only screen and (max-width: 749px) {
#shopify-section-template--20584607220061__slideshow_NhjrjP .slideshow__slide .banner__box {
padding-bottom: 2rem !important;
}
.banner__box>*+.banner__buttons, .image-with-text__content .image-with-text__text+.button {
margin-top: .5rem !important;
}
}
</style>
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024