Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
amerry
amerry
I am trying to understand how style sheets get linked to particular templates.
 
I have created a new template directory and have copied the silver.css file to be the same name as my new template, but in fact it is not finding any style sheet??
 
The key issue seesm to be that in the "admin_layouts" page, after adding the new layout, the option to change the active scheme is not displayed beside my new layout name.
Last modified: 29 Nov 2006 10:42 AM
 
Eugene (Guest)
Eugene (Guest)
Hi,
 
You can create a new layout. Set it's Style Name as a file name of CSS file (silver for silver.css) and Templates Directory where your templates located.
 
In template body you have to use line like this
<link type="text/css" rel="stylesheet" href="{css_file}">
so the system can link proper css file of the current layout.
 
Eugene,
ViArt Support Team
 
I am trying to understand how style sheets get linked to particular templates.
 
I have created a new template directory and have copied the silver.css file to be the same name as my new template, but in fact it is not finding any style sheet??
 
The key issue seesm to be that in the "admin_layouts" page, after adding the new layout, the option to change the active scheme is not displayed beside my new layout name.