Re: taking off grey lines in page photos

Solved

How to remove grey lines from page photos?

Not applicable

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
10038 2387 3014

This is an accepted solution.

Hi @Anonymous 

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 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.

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
Not applicable

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
10038 2387 3014

This is an accepted solution.

Hi @Anonymous 

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 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.