Jump to content

How to use image for Products, Categories, Featured etc tabs background in 1.5.4


Recommended Posts

ok, you have to edit blockcategories/blockcategories.tpl file

 

add own class to the:

 

<h4 class="title_block">{l s='Categories' mod='blockcategories'}</h4>

 

for example:

<h4 class="title_block mynewclass">{l s='Categories' mod='blockcategories'}</h4>

 

 

then in global css create this:

 

.mynewclass {
background:red!importnat;
}

 

 

you can use the same method for other blocks. remember to create individual classes for each block.

Link to comment
Share on other sites

Thank you for the thorough answer!

Sounds really complicated, but I'll give it a try tomorrow.

Doing this we could assign different colors to different block headers ... but how about using the same image as a background? I mean 1x20 pixel gradient image(or some pattern) to "spice up" the design.

Link to comment
Share on other sites

Thank you for the thorough answer!

Sounds really complicated, but I'll give it a try tomorrow.

Doing this we could assign different colors to different block headers ... but how about using the same image as a background? I mean 1x20 pixel gradient image(or some pattern) to "spice up" the design.

 

yes, it's not that hard to stylize the block 'tabs' if you know css basics. I did it at this website: sitinuriatistudio.com

I learned through watching some videos at Youtube what files and classes/ids to use.(Also you can use the inspect element in Chrome to find out) Search for 'learn prestashop' or some combination of terms with prestashop in it :P

 

And Yes, Vekia has been extremely helpful. You should check out his chat module Zop. It's very useful.

Edited by closeupman (see edit history)
  • 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...