Hi,
So squiz set up most of our site, but now I'm designing other sections of the site that have to catch up. currently i'm a backend user, but I can probably ask someone higher up to do things, but first I have to know what to ask them and what to prepare for them.
Some of the pages I'm designing will need their own custom css. so how do I link to a certain css file from my page? Does this require paint layouts/Designs?
Louisa
The best way to do it is to have the main design CSS change to included the classes you want or to use a different design with a custom CSS file. So I think you should be asking about designs and/or design customisations.
Thanks Greg!
[quote]
Thanks Greg!
[/quote]
Not sure if Greg helped you completely, but the way I woul do it, would be…
1: Create a new Design - put the parse file into it.
2: add the mysource tag for css
<MySource_AREA id_name="main" design_area="linked_css">
<MySource_SET name="media" value="all" />
</MySource_AREA>
obviously change the id name to whatever you want.
3: go to the new design, Right click > Customisations
4: Create new customisation (just tick the box) & commit
5: go to the details screen "Aquire Locks" scroll down you'll see an area called "Design Areas"
6: tick the box of the css file you created which will allow you to customise it.
7: You'll see now it has a blue "i" next to it - click on the name it will open up a new screen
Scroll down to where it has a section called "Link"
8: click on change > select the CSS file your using/want to use.
then apply the customisation to the page.
Hi Louisa
If someone else is responsible for managing the designs then Greg nailed it, go and talk to them about what you need.
If you need to change the look and feel of a section then you would be looking at a whole new design asset with its own images and css that you would then apply to your section through the settings screen.
If you just need to have custom css for the layout of the contents and maybe hijack some of the look and feel there are three options. 1)Have a customisation of the current design created for you that has the elements you need 2)Use a paint layout to hijack the output as you could add your css in a raw html container and then paint the contents and/or whatever changes you want to make. or 3)Add a raw html container and add your css per page, only good if there are a couple of pages you want to alter.
If you have the ability to create the design yourself and this is expected of you make sure you read the design manual to get a better feel for how to do it. If you follow Ryans instructions you will only come back asking questions as he has neglected to cover the different ways of using css in designs and the fact that to use the linked css design area requires a css asset to be created and set, you will not be able to select css uploaded as an attached file. To reference css as an attached file you would use a standard link tag with a specific path e.g.
Good luck:)