how to add a border to the images on the product page?

Solved

how to add a border to the images on the product page?

zindoria
New Member
4 0 0

I have borders around my images in their collections but when you open to the page for a single product, there is no border.  I would like a similar border around these images on the products page.

My site is: www.zindoria.com  and the password is: pahsto

 

I have tried adding different code in different files that I found searching for solutions others have suggested but I'm not having any luck with any of them.  The last thing I tried was editing base.css but that didn't work for me.

 

Thank you.

Accepted Solution (1)

INA_MSWEB
Shopify Partner
1281 144 168

This is an accepted solution.

Hi @zindoria 


I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the css file:
.pmslider-own--slides-wrapper {border: 1px solid #d5cecf; border-radius: 8px;}




Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin

View solution in original post

Replies 3 (3)

irene-vintage
Shopify Partner
853 103 376

Hello @zindoria ,

 

You can try to use this code:

  • Go to Online Store -> Themes -> Actions -> Edit code
  • Go to Assets folder -> base.css file -> add this following code at the bottom of page
.product-single__media-item {
  border: 1px solid #ccc; // Change this to the desired border color and size
  padding: 10px;
  margin-bottom: 20px;
}
  • Save and preview 

Hope this can help.

Let us know if you can solve the problem.

Ali Reviews team.

- Was my answer helpful? Please hit Like or Mark it as solution!
- Kudosi Product Reviews - The must-have Shopify app that empowers you to effortlessly collect, display, and manage product reviews.
- Start your FREE trial today!

INA_MSWEB
Shopify Partner
1281 144 168

This is an accepted solution.

Hi @zindoria 


I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the css file:
.pmslider-own--slides-wrapper {border: 1px solid #d5cecf; border-radius: 8px;}




Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin

zindoria
New Member
4 0 0

Thank you!  That did exactly what I was looking for.