Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'm working on a section on my homepage and no matter what I do, I can't get the button to move. I want to center it, and I want to add a 50px margin to the top but that's not working either. This is what I want it to look like:
Site: https://maison-rouge-ny.myshopify.com/
PW: thifis
Solved! Go to the solution
This is an accepted solution.
.image-with-text-halves.image-with-text-halves--no-overlap.isolate .image-with-text-halves__text-item.grid__item > .image-with-text-halves__content > a.button {
margin-top: 30px;
left: 50%;
transform: translateX(-50%);
}
This is an accepted solution.
.image-with-text-halves.image-with-text-halves--no-overlap.isolate .image-with-text-halves__text-item.grid__item > .image-with-text-halves__content > a.button {
margin-top: 30px;
left: 50%;
transform: translateX(-50%);
}