Shopify themes, liquid, logos, and UX
Hello,
I would like to modify the w button in image with text overlay on home page.
1. I want to move the button to the center of the inscription "the daylight collection"
2. I would like to increase the font in the normal button as well as the hover button.
3. Is it possible to set a white border in the hover button? I only mean the button on the home page in image with text overlay. I have already set a transparent background as seen in the video, but unfortunately I cannot set the frame.
I would like it to be like the example photo below, but the corners should remain rectangular, not rounded.
My store: https://www.drollsport.com/
Password: Wixa
Theme: Symmetry
Solved! Go to the solution
This is an accepted solution.
@media only screen and (min-width: 600px) {
.text-overlay__button.button-row__btn {
font-size: 17px !important;
margin-left: 200px !important;
}
}
.text-overlay__button.button-row__btn {
border: 3px solid white !important;
}
can you try add this code again @elotomo
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
Hi @elotomo
Check this one.
@media only screen and (min-width: 1100px) {
.text-overlay__button-row.button-row.lightish-spaced-row-above {
width: 20em;
display: flex;
justify-content: center;
}
}
@media only screen and (min-width: 767px) and (max-width: 1099px) {
.text-overlay__button-row.button-row.lightish-spaced-row-above {
width: 15em;
display: flex;
justify-content: center;
}
a.text-overlay__button.button-row__btn.btn.btn--secondary,
a.text-overlay__button.button-row__btn.btn.btn--secondary:hover {
font-size: 20px !important;
}
}
.text-overlay__inner a.text-overlay__button.button-row__btn.btn.btn--secondary:hover {
border: 1px solid white !important;
}
desktop.
tablet
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Here is the solution for you @elotomo
- Please follow these steps:
- Then find the base.css or theme.css , main.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
@media only screen and (max-width: 600px) {
.text-overlay__button.button-row__btn {
font-size: 17px !important;
margin-left: 200px !important;
}
}
.text-overlay__button.button-row__btn:hover {
border: 3px solid white !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hi @BSS-TekLabs
I pasted your code into main.css and unfortunately nothing changed. I don't know if I did something wrong.
This is an accepted solution.
@media only screen and (min-width: 600px) {
.text-overlay__button.button-row__btn {
font-size: 17px !important;
margin-left: 200px !important;
}
}
.text-overlay__button.button-row__btn {
border: 3px solid white !important;
}
can you try add this code again @elotomo
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Now everything works, but the border in the hover button does not show.
Please find this code and delete the part I marked in red.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Thank you!
This is an accepted solution.
Hi @elotomo
Check this one.
@media only screen and (min-width: 1100px) {
.text-overlay__button-row.button-row.lightish-spaced-row-above {
width: 20em;
display: flex;
justify-content: center;
}
}
@media only screen and (min-width: 767px) and (max-width: 1099px) {
.text-overlay__button-row.button-row.lightish-spaced-row-above {
width: 15em;
display: flex;
justify-content: center;
}
a.text-overlay__button.button-row__btn.btn.btn--secondary,
a.text-overlay__button.button-row__btn.btn.btn--secondary:hover {
font-size: 20px !important;
}
}
.text-overlay__inner a.text-overlay__button.button-row__btn.btn.btn--secondary:hover {
border: 1px solid white !important;
}
desktop.
tablet
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you 🙂
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