Border product images - by jeremy - on WordPress WooCommerce support

This topic has 12 replies, 3 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler

  • Avatar: tlgv
    jeremy
    Participant
    August 26, 2017 at 11:43

    Hello,

    I would like to add a border to all my product images on my website (not all images, only product images). What could be the most efficient css property to do this?

    Thank you.

    11 Answers
    Avatar: amzy
    Amzy Leel
    Participant
    August 26, 2017 at 12:10

    Hi,

    let us know your site url / the page url where you want to add border to images.

    Avatar: tlgv
    jeremy
    Participant
    August 27, 2017 at 14:49

    Hello,

    Please find information.

    Please, contact administrator
    for this information.
    Avatar: amzy
    Amzy Leel
    Participant
    August 28, 2017 at 07:35

    All your images have border now: http://prntscr.com/gdvss3

    seems you’ve fixed it

    Avatar: tlgv
    jeremy
    Participant
    August 28, 2017 at 08:28

    Hi,

    Not at all. These borders are borders on jpeg file, they will be deleted. I want borders in css.

    Thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 28, 2017 at 09:41

    Hello,

    Please try this code:

    .product-content-image img, .home-carousel-product-pic img { 
         border: 1px solid black;
    }

    Regards

    Avatar: tlgv
    jeremy
    Participant
    August 29, 2017 at 11:44

    Hello,

    Thank you but this property adds border only on home page and not on other pages I have indicated in my previous message?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 29, 2017 at 12:06

    Hello,

    Please change previous code to:

    .product-content-image img, .home-carousel-product-pic img, .banner img{ 
         border: 1px solid black;
    }

    Regards

    Avatar: tlgv
    jeremy
    Participant
    August 29, 2017 at 17:48

    Ok thank you, it seems to be ok.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 30, 2017 at 07:48

    You’re welcome!

    Regards

    Avatar: tlgv
    jeremy
    Participant
    July 24, 2018 at 10:33

    Thank you, problem solved, you can close.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 24, 2018 at 10:39

    Ok.
    Have a nice day.

    Regards

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Border product images’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.