All things Shopify and commerce
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
Hello friends, how can I move some px this button to the left or right? I only know how to adjust the hight of the button.
Solved! Go to the solution
This is an accepted solution.
Hi @NikosBat
div[aria-label="1 von 3"] .slideshow__text.banner__box.content-container .banner__buttons {
padding-right: 64px;
}
If you want to move it to the left, use this code (padding-right).
To move it to the right, use padding-left.
I hope this helps
Best,
Daisy
This is an accepted solution.
Hi @NikosBat
div[aria-label="1 von 3"] .slideshow__text.banner__box.content-container .banner__buttons {
padding-right: 64px;
}
If you want to move it to the left, use this code (padding-right).
To move it to the right, use padding-left.
I hope this helps
Best,
Daisy
Thanks DaisyVo I appreciate it, that solved my problem
Hey DaisyVo, the button is also moving in the mobile version. Can I somehow adjust the padding only for desktop version?
Hi @NikosBat
@media screen and (min-width: 1024px){
div[aria-label="1 von 3"] .slideshow__text.banner__box.content-container .banner__buttons {
padding-right: 64px;
}
}
Please change this old code to this code