View Single Post
  #1  
Old 04-05-2005, 07:57 AM
 
bluebox bluebox is offline
 

Member
  
Join Date: Jan 2003
Posts: 19
 

Default Changing dialog box colours and borders

I am in the middle of changing the backgrounds and templates of our X Cart site with various Mods that I have found on here. We have changed the categories so that each category name is a different colour (as per our 6 different coloured product ranges). Looks like this at the moment www.kitinfo.co.uk/kitwarehouse/home.php (still needs some tweaking).
I used a MOD which looked a little like this:

Code:
{if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories} <FONT class="CategoriesList">{$categories[cat_num].category}</FONT> {/section} {else}

What Im now wanting to do is have the backgrounds of the dialog boxes and borders change colour as per the product ranges?? I know that what needs doing is within the dialog.tpl and that it will entail an {if} function and setting up 6 different dialogborder styles in css but so far Ive been unable to figure it out???

Anyone able to help??
Reply With Quote