View Single Post
  #6  
Old 04-26-2016, 06:24 AM
 
cocopops cocopops is offline
 

Newbie
  
Join Date: Oct 2014
Posts: 7
 

Default Re: How to add CSS to <Head></Head>

Quote:
Originally Posted by pauldodman
If the css and/or js isn't needed on every page, and is only required on one page/place, you might want to add an if statement so it isn't called on every page.

Hmm, that sounds like a good idea.

So for example, if I needed to call the css (sample.css) and js (sample.js) on only 1 of my static pages, say an FAQ page(www.domain.com/faq.html), how would the if statement look?
__________________
X-Cart v4.4.3 Gold
X-Cart Mobile
Reply With Quote