Jump to content

changing "background" image on a per category basis


Guest robdav1
 Share

Recommended Posts

Guest robdav1

Hi all,

first post n' all so I thought I'd say hello */*

Ok so I'm developing a site for a client who wants to have a different background image on the global/index.tpl for each category. Basically because of the products they sell they want to have the background key'd to the colour of the category. For example, they have a scalet collection, a cream collection, etc and they want backgrounds of gradiented colour for each collection(category).

As the global/index.tpl is goverend by the index.inc.php file, is there a way of modifying it so that it picks up the category being displayed and then changes the background image (gradient colour jpeg file) accordingly?

development site is located here.

comments welcome of course.

Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...