Hi, You had helped me a few weeks ago put a frame around “featured product” and I would like to do it on the “simple collection” and “featured collection”.
hey @offroadjim if you share the Screen shoot so then i can help you
Got it
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above </ body> tag
.collection {
border: 1px solid black !important;
border-radius: 10px !important;
padding-right: 1rem !important;
padding-left: 1rem !important;
padding-top: 1rem !important;
padding-bottom: 1rem !important;
}
if this code work please do not forget to like and mark it solution
Is there a way to make it around the heading and description as well?
Got it
try this
#shopify-section-template--26095365325079__featured_collection_EDtPAb .section-content {
border: 1px solid black !important;
border-radius: 15px !important;
padding-right: 1rem !important;
padding-left: 1rem !important;
padding-top: 1rem !important;
padding-bottom: 1rem !important;
}
plz don’t paste the code in custom css
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above </ body> tag
I see that you’re pasting the css without Style tag, which leads to the css not working.
In this case, you need to wrap the style within the css tag and then you’ve to check.
Like replace the current css with this one.
<style>
#shopify-section-template--26095365325079__featured_collection_EDtPAb .section-content {
border: 1px solid black !important;
border-radius: 15px !important;
padding-right: 1rem !important;
padding-left: 1rem !important;
padding-top: 1rem !important;
padding-bottom: 1rem !important;
}
</style>
The above solution will 100% work.
It’s better if you put css code in the “custom css” instead of theme.liquid with a style tag…
And get rid of the style tags.
Then stop using the section ID and whatever else that is, and use the class name instead. Replace this:
With this:
.section-featured-collection
Ends up being:
.section-featured-collection {
border: 1px solid black !important;
border-radius: 15px !important;
padding-right: 1rem !important;
padding-left: 1rem !important;
padding-top: 1rem !important;
padding-bottom: 1rem !important;
}
And you may want to play around with the padding amount, depending on what your other sections look like. Refer to your other solution: Create a Frame around featured product on Spoke/Athens theme - #3 by tim_1 It could be as simple as doing the same thing you did there.
That did it! Thank you!!!
Got it… Thank you….
It was
.section-featured-collection {
padding: 2rem 1rem;
}
.section-content {
border: 2px solid;
border-radius: 2rem;
padding: 1rem 1rem;
}









