External Style Sheet

External Style Sheet

Postby dbgoldman » 02 May 2010, 17:26

Is it possible to set the program to create an External Style Sheet for all the pages of a new gallery?
Thanks for any of your thoughts and/or help with this.
David
dbgoldman
 
Posts: 2
Joined: 02 May 2010, 17:18

Re: External Style Sheet

Postby Maxim » 05 May 2010, 10:20

It is possible to make the program use external CSS file instead of creating a CSS file for each gallery. You have to select the template you are going to use and open it in the built-in template editor. Then in the HTML text of "Thumbnails pages" template replace a line that references to the local CSS file, like this one:

<link rel="stylesheet" type="text/css" href="[#thumbspage.template_files_folder#]style.css" />

with the following:

<link rel="stylesheet" type="text/css" href="http://www.your-website.com/css/style.css" />

Also you'll have to replace the CSS reference in the HTML text of "Image pages" template. After that you have to make sure that the referenced CSS file is uploaded to your website. Also you may have to delete the local CSS file from the template folder if the template you are going to use has it.
Maxim
Site Admin
 
Posts: 80
Joined: 02 Mar 2009, 18:02
Location: Ukraine

Re: External Style Sheet

Postby dbgoldman » 11 May 2010, 17:08

Thank you, Maxim, I'll give this a try.
David
dbgoldman
 
Posts: 2
Joined: 02 May 2010, 17:18


Return to Extreme Thumbnail Generator 1.x

cron