Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Web General Discussion
Override built in styles|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Mechanic |
Is there any way to override the built in CSS styles that are placed in the header of a page made by Site Spinner 2.
Specifically I need to add text-align:justify to .fsx01 {font-size: 11px;} I had assumed that use custom header would replace the build-in header but, it doesn't. It just adds my code before the style sheet definiation, meaning that the built in styles override mine. It would be nice if the rtf editor allowed css tags to be added to the web page that spinner creates. As it stands, it isn't very flexible. The lack of paragraph justification is rather annoying tho, for a product that is in other ways pretty good. Like many "beginner" packages Site Spinner misses out on the "professional" market because it doesn't fully allow customisation of what it does by people who know what they are doing. I use it because it's quick to set up a site, and all the web pages are stored in one file, but then I have had to manually alter the published files with a search and replace tool ... defeating the whole point of the publishing wizard. Azurea. |
||
|
VM Staff![]() |
Hi Azurea,
You can add your own code to the Text Editor. Try this: In the Text Editor, go to Options > Options and Filters and uncheck 'convert tag brackets', 'convert Ampersand &', 'Convert quotes'. If it is simply 'full justify' you want in your Text Object, please see the post here: http://virtualmechanics.infopop.cc/eve/forums?a=tpc&s=3636038591&f=9586057891&m=9976093224&r=4296074224#4296074224 - Derry |
|||
|
VM Staff![]() |
For text justification Derry's method is best but for other things keep in mind you can put styles in the body using a code object. For example try the following in a code object:
<style type="text/css"> .fsx05 {font-size: 16px;font-weight:bold;} </style> Of course you need to keep in mind cross browser compatibity (for instance 'text-align' in the font face will only work in NN4.) and you should turn off CSS positioning for the code object (in Object Editor's, Transformations tab) so the code won't be wrapped in a <div> section. Also, you can use the 'To Back'/'To Front' buttons to move the code to the top or bottom (respectively) of the body as needed. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

