I have set up a second style sheet to provide a high contrast yellow
an black text, but how do I change the background colour of the site
via the css style sheet, it appears only to be able to change boxes
with text in. I have tried to set up a #page style and then via the
extended menu set the background colour to black but it doesn’t
work. If I edit the css file on the server and add
body {
background-color: #000!important;
color: #ff0!important;
}
it works, but how can I add this to the style sheet in Freeway 5.1
This whole thing is further complicated as I am trying to apply this
to an Expression Engine site found here <http://www.miresbeck.co.uk/
indexa.php/nursery/accessibility/>
I have tried to set up a #page style and then via the
extended menu set the background colour to black but it doesn’t
work.
You are very close. The trick is to give the page an id. To do this, go to the Page menu and select Extended. Click New and in the name field type “id” without the quotes, and whatever name you want in the value field.
Just make sure to set the style #name matches the id. Your set.
Can I give all the pages on a site the same “id” so that they all
take the style?
Neil
On 28 May 2008, at 17:05, chuckamuck wrote:
I have tried to set up a #page style and then via the
extended menu set the background colour to black but it doesn’t
work.
You are very close. The trick is to give the page an id. To do
this, go to the Page menu and select Extended. Click New and in the
name field type “id” without the quotes, and whatever name you want
in the value field.
Just make sure to set the style #name matches the id. Your set.
By default, Freeway will put all of the page content into a single DIV, id=“PageDiv”, which you could style directly in Freeway by making a #PageDiv style (using the Tag field of the Style Editor).
Alternatively, you can use Page/Extended to add an ID to each page’s BODY tag.
Thanks Walter, I think I have ended up doing both and it has worked
fine.
Neil
On 28 May 2008, at 19:05, waltd wrote:
By default, Freeway will put all of the page content into a single
DIV, id=“PageDiv”, which you could style directly in Freeway by
making a #PageDiv style (using the Tag field of the Style Editor).
Alternatively, you can use Page/Extended to add an ID to each
page’s BODY tag.