Jump to content
Sign in to follow this  
kneops

Border images Woocommerce and order of css loading

Recommended Posts

kneops

I have difficulty in styling the product images in Woocommerce.

 

When I add this code into the 'for-editing-purposes-stylesheet' of PL, the images get a border, if added to the general custom stylesheet of the child theme, the border doesn't appear.

#productloop .images a img {
border:solid 2px #eee !important;
}

I just noticed that this goes for all other woocommerce styles.

Share this post


Link to post
Share on other sites
kneops

Found it, my mistake. I was adding the styles below the @media styles instead of above ;)

Share this post


Link to post
Share on other sites
Rob

Glad to hear you've resolved it.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×