Shopify themes, liquid, logos, and UX
Hi there,
I'm using the theme cornerstone and on the homepage, there is a promotional grid. No matter what I do, the buttons won't get an outline.
I have tried this code which is half-way working but the button is too big (height) and I would prefer the wording "shop bestseller" in one line.
Is someone able to assist?
Store URL www.31031b-75.myshopify.com
PW: aubiep
Thank you.
.promotion-grid-item__promotion-text {
display: inline-block; /* Makes the link behave like a button */
background-color: #CEB5D6 !important; /* Button background color */
color: #ffffff !important; /* Text color */
padding: 10px 20px !important; /* Padding to create a button effect */
outline: 1px solid #ffffff !important; /* Thinner white outline */
border-radius: 20px !important; /* Rounded corners */
text-align: center; /* Centers the text */
text-decoration: none !important; /* Removes underline */
box-shadow: none !important; /* Removes any shadow */
}
Hi @meld78
Reduce the padding left n right and add this code.
p.promotion-grid-item__promotion-text.ff-body {
white-space: nowrap;
padding: 10px 5px;
}
And save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024