I have a main-template with static width, and documents, but I want to change the width of the conten-area in some of the documents, without making i.e. 20 different templates.
Lets say I want the content-area-width for Firstpage to be 400px. And for Secondpage 600px. And for Thirdpage 800px.
I have a main-css file with all the common data, and small css-files to set the content-width.
How can I connect the small css-files to the different documents?
Thanks in advance!
I think, thererfor I am! But what I am, and why...?
-
☆ A M B ☆
- 24,524 Posts
Make the small css a chunk, put the chunk in your template head in <style> tags, and use TVs to set the width for different pages.
Thanks for leading me in the right direction. It works very well now.
I made three chunks called css1, css2 and css3.
And i made a TV where I call up the chunks with either @CHUNK css1, @CHUNK css2 or @CHUNK css3 i the different documents.
I think, thererfor I am! But what I am, and why...?