Custom template not working

Questions and answers about ShopSite Custom Templates

Custom template not working

Postby joediffdez » Tue Jul 12, 2011 10:26 pm

I am working on a custom template for a client's site. I am following the 6 step video tutorial and I have added the css file to the publish includes and the template file to the page templates file. I added the template to the page layout section of the home page to test the css and template but it doesn't work. Everything just flows down the center of the page. It seems as if it isn't recognizing the css file that I uploaded yet I've followed the steps. Can anyone help me??

a link to the store --> http://thebestebooksonline.com/store/index.html <--

Thanks in advance for your help
www.differentdezine.com
joediffdez
 
Posts: 43
Joined: Mon Aug 23, 2010 3:47 pm

Re: Custom template not working

Postby ShopSite Lauren » Tue Jul 12, 2011 11:18 pm

You need to add some spaces before all the # signs in the publish file.

When you comment out in HTML, you use <!-- comment -->, but in ShopSite, when a line starts with a #, the whole line is commented out. This makes it so that you can leave many comments to yourself in the template files, but this does cause a slight issue with CSS IDs. To fix the issue you would just make the line start with a space rather than the #. So instead of

#styleID {
padding: 0px;
}

it would be
#styleID {
padding: 0px;
}
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: Custom template not working

Postby joediffdez » Wed Jul 13, 2011 2:00 pm

Thanks Lauren. That was it! :D
www.differentdezine.com
joediffdez
 
Posts: 43
Joined: Mon Aug 23, 2010 3:47 pm


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 90 guests

cron