I’m trying to add borders around my featured collection section on the homepage. Why is the border in the middle thicker then the other borders, it also seems like the top border is thicker as well!.
ALSO, why are the borders not aligned between the image and the content?
See below screenshots!
Hello @15love
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.
Thank you for ur time ![]()
Its 15lovestudio.com PW: TEAM15LOVE!
Hi @15love ,
Please explain more about it and send me the store link, I will check it for you
Thank you for ur time! Its 15lovestudio.com PW: TEAM15LOVE!
Hello @15love
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
- Here is the solution for you @15love
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press ‘Save’ to save it.
.card-wrapper {
border: 1px solid black !important;
}
.card__media, .card__content {
border: none !important;
}
.card__content {
border-top: 1px solid !important;
}
- Here is the result you will achieve:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
Hi @15love ,
Please add code CSS:
#shopify-section-template--16170321674291__featured_collection .card__media {
border-top-width: 0px !important;
border-bottom-width: 0px !important;
}
#shopify-section-template--16170321674291__featured_collection .card__content {
border-top-width: 0px !important;
}
.card-wrapper {
border: 1px solid black !important;
}
.card__media, .card__content {
border: none !important;
}
.card__inner+.card__content {
border-top: 1px solid !important;
}
Can you replace to this code @15love
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
Hi @15love ,
Please add code:
.card--media .card__inner .card__content {
border-top-width: 0px !important;
}
Worked ! Thank you for all the help ![]()
Glad to help you. Have a good day @15love .




