About Sitellite       Screenshots       Downloads       Forge      Documentation       Community       Support

You are here: Home / Applying Styles


Applying Styles

Forum / Support Questions / Applying Styles

Reply         Subscribe         Start new thread         Syndicated Feed (RSS)        

Displaying 1 to 3 of 3 Previous   1   Next
Author Message
webteammember

Posts: 24
Location: UK
Applying Styles - Posted: April 2, 2008 - 5:34 AM Quote and reply
One other question.

How can a user apply a style to an element? From the wsyiwyg, it seems like you can only add heading 1, heading 2 etc, but add specific classes to those elements

Thanks

Daniel

Back to top View user profile     Contact this member
lux

Posts: 645
Location: Manitoba, Canada
Re: Applying Styles - Posted: April 2, 2008 - 6:34 AM Quote and reply
webteammember said:
One other question.

How can a user apply a style to an element? From the wsyiwyg, it seems like you can only add heading 1, heading 2 etc, but add specific classes to those elements

Thanks

Daniel


Hi Daniel,

Sitellite doesn't apply styles directly in the editor since that would lead to inconsistent style application across a site, but rather allows you to edit the ID and class attributes of a tag through the Edit Properties dialog. Just move the cursor to the tag you want to edit and click the edit button in the path at the bottom of the editor.

The ID and class values appear as select boxes, and the values are parsed from your template set's site.css file, so you can define custom styles in there and Sitellite will find them automatically. It's also aware that img.foo or img#foo only apply to images, but .foo can apply to any tag.

Cheers,

Lux

Back to top View user profile     Contact this member
webteammember

Posts: 24
Location: UK
Thanks - Posted: April 3, 2008 - 11:09 AM Quote and reply
Thanks for the reply Lux

I've had a quick look, that seems to work fine.

Thanks for all your replies

Daniel

Back to top View user profile     Contact this member
 

Sitellite 5 Beta


Copyright © 2008, SIMIAN systems Inc.
All rights reserved. Privacy policy
Some of the icons on this site were created by the Gnome Project.