Solved

How to remove grey lines from page photos?

fbcgirl24
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
6035 1448 1784

This is an accepted solution.

Hi @fbcgirl24 

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 3 (3)

Alex520
Shopify Partner
15 2 4

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
fbcgirl24
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
6035 1448 1784

This is an accepted solution.

Hi @fbcgirl24 

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com