Re: taking off grey lines in page photos

Solved

How to remove grey lines from page photos?

FBC2022
Explorer
74 0 15

There is a grey box that surrounds all of my photos on my pages. Please provide a code that gets rid of the grey lines. 

Adjustable Satin Bonnets & Hair Accessories - FeminiqueByCameron LLC

Web capture_5-11-2023_101023_www.feminiquebycameron.com.jpeg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6961 1656 2043

This is an accepted solution.

Hi @FBC2022 

TRy 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:

 

.rte img {
    border: none !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699202754125.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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 3 (3)

Alex520
Shopify Partner
15 2 5

I don't see the grey border on your website. Might be browser specific. What browser do you have?

 

This is a crude way of removing a border but if you want to override a border style you can use:

.border-image {
  border: none !important;
}

 

 

Alex - Developer
Available for Hire
FBC2022
Explorer
74 0 15

It's not on a product page, it's on a separate page. If you scroll down to the bottom of my website, you'll see the button that takes you to the page that I'm referring to.

Web capture_5-11-2023_102329_www.feminiquebycameron.com.jpeg

 

Made4uo-Ribe
Shopify Partner
6961 1656 2043

This is an accepted solution.

Hi @FBC2022 

TRy 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:

 

.rte img {
    border: none !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699202754125.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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.