Jump to content

Change Backgroud category "content_scene_cat_bg"


Recommended Posts

Hello Members,

 

I'm trying to change the background of the categories and subcategories. I want to always appear the same background. To do this I have gone to edit the file category.tpl was the theme folder. Originally had this:

 

<div class="content_scene_cat_bg" {if $category-> id_image} style = "background: url ({$ link-> getCatImageLink ($ category-> link_rewrite, $ category-> id_image, 'category_default') | escape: 'html ':' UTF-8 '}) 0 bottom no-repeat; background-size: Contain, min-height: {$ categorySize.height} px; "{/ if}>
                          {if $ category-> description}

 

I've changed the following:

 
<div class="content_scene_cat_bg" {if $category->id_image}style="background:("http://www.sexshop-j.../background.jpg") 0 bottom no-repeat; background-size:contain; min-height:{$categorySize.height}px;" {/if}>
                         {if $category->description}



 

After the shift compilation effort but does not change the background, remains as before. What I need to do or I am doing wrong?

 

Thanks for your help

post-405468-0-39279600-1406287095_thumb.jpg

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