Jump to content

[Solved] adding background image to block_product items


Recommended Posts

I believe the name of what I am trying to edit is Block_product.item ? .. I want to have a image behind each item that is displayed. *attached image

 

Link : http://www.purepe.../shop

 

I have created the background I would intend to use and placed it under my theme/img directory

http://www.purepe.../product_bg.png

 

 

I have attempted to edit my theme /css/golbal.css to include :

 

 

/* BLOCK .products_block *********************************************************************** */

.products_block {

background-image: url('../img/product_bg.png');

background-repeat:repeat;}

.products_block li {float:left

}

.products_block li img {border:1px solid #d1d1d1}

 

.. but this doesn't seem to work? .. Is that what I should be doing or way off ?

post-343083-0-91357000-1333349245_thumb.png

Link to comment
Share on other sites

I believe the name of what I am trying to edit is Block_product.item ? .. I want to have a image behind each item that is displayed. *attached image

 

Link : http://www.purepetshop.com.au/shop

 

I have created the background I would intend to use and placed it under my theme/img directory

http://www.purepetsh.../product_bg.png

 

 

I have attempted to edit my theme /css/golbal.css to include :

 

 

/* BLOCK .products_block *********************************************************************** */

.products_block {

background-image: url('../img/product_bg.png');

background-repeat:repeat;}

.products_block li {float:left

}

.products_block li img {border:1px solid #d1d1d1}

 

.. but this doesn't seem to work? .. Is that what I should be doing or way off ?

 

Hello,

 

you should edit product_list.css and define the style for: #product_list li

  • Like 1
Link to comment
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
×
×
  • Create New...