Shopify themes, liquid, logos, and UX
Hi
I would like to align this button and make more space around it, can that be done with a simple code to make this section cleaner and matching my theme?
Thanks in advance guys, you are a million. 😎
See attached image:
Solved! Go to the solution
This is an accepted solution.
Hi @Dekanten
is this solved? i check on the mobile view this is on my end.
To fix it 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.
@media only screen and (max-width: 749px){
.icon-block a.cta-button {
width: auto;
}
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @Dekanten
is this solved? i check on the mobile view this is on my end.
To fix it 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.
@media only screen and (max-width: 749px){
.icon-block a.cta-button {
width: auto;
}
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello and thank you for the support, i got a nice direct messsage with some help, but i need to make the button with smaller top and bottom. I want it to match my other buttons. Ideas will be open for the section. 🙂 Thank u 🙂
That is good then. This is an app section, so please be cautious when using too many apps, as it can slow down your website.
Thanks for the advice, as a pro maybe you will check out my page on the speed so i can remove things who slows down?
www.dekanten.no (Thank you for the advice)
Thank you for the headsup with the mobile section, just tried to fix the desktop and its looked like hell on the mobile. Thank u my friend. 🙂
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025