Shopify themes, liquid, logos, and UX
Hello! i manage to center the button in the slideshow in homepage but now it is not fixed and it moves everywhere depending on the width/size of the screen.
Here is the code im using. Hope you can help me!
<a href="{{ block.settings.button_link }} "class="slides__btn btn" style="text-align: center; display: block; width: 17%; margin-top: 0px; margin-left: 230px; position: absolute">
{{ block.settings.button_label | escape }}
</a>
Hi,
You have selected the position as "absolute", change it to "relative" or "static", if it didn't work send the link of your store will tell you the exact solution.
Thanks,
Tiaz Ltd.
Than you for your answer!
It didn´t work, so here is the link to my store.
https://anlu-papel-tapiz.myshopify.com/admin/themes/124887269527?key=sections/slideshow.liquid
add these lines of code in your "theme.scss.css" file.
Thank you!!
It did work but now the button in the first slide has different style than the other 2. How can i make the 3 look the same??
And also, i would like to align vertically the button because now it is just horizontally align.
Hope you can help me.
User | RANK |
---|---|
155 | |
127 | |
81 | |
72 | |
66 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023