How can I add borders to the Dawn theme on collection pages?

How can I add borders to the Dawn theme on collection pages?

yoomzy
Shopify Partner
13 0 3

Hi, how can I add borders to Shopify's Dawn theme? The borders should be shown on collection pages.

 

Any help is appreciated!

I'll attach an example below.Screen Shot 2023-12-12 at 5.08.22 PM.png

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
9677 2301 2872

Hi @yoomzy 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
yoomzy
Shopify Partner
13 0 3

Hey, thanks, and no problem! https://hjskr1-testing.myshopify.com/

password: testing

Made4uo-Ribe
Shopify Partner
9677 2301 2872

Thanks for the info, check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

ul#product-grid {
    gap: 0px !important;
}
.collection li {
    border: 1px solid rgba(0, 0, 0, 0.2);;
    padding: 15px;
}

 

And Save. 

Result:

Made4uoRibe_0-1702459134955.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Mabinibooks
Shopify Partner
103 3 40

I randomly found this, and it worked, thank you

Taknify
Shopify Partner
262 18 29

1. Go to Online Store -> Themes. Click the ... button on your theme and Click -> Edit Code. 
2. Once the backend opens, search for the file component-card.css
3. Find (Ctrl + F) or use the search file to find : .card-wrapper

4. Add the code: border: solid black 1px;
Like this
.card-wrapper {
  color: inherit;
  height: 100%;
  position: relative;
  text-decoration: none;
  border: 1 px solid black; <-this is the line I added.
}

If this answers your question, do press that like and mark it as the accepted solution.

Need to tweak your store for Black Friday? Simply, send me a message.

PageFly-Richard
Shopify Partner
4854 1091 1764

Hi @yoomzy 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.collection .product-card-wrapper {
    border: 1px solid #000;
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.