Dynamic HomePage allows you to edit and manage multiple stylesheets within the admin interface. The initial stylesheet is set up by the developers according to your requirements as agreed prior to installation. The stylesheet can be updated, renamed and further stylesheets can be added allowing your Home Page layout to be customised to particular classes of site visitor. Effects of changes to the stylesheet(s) can be previewed before committing them to your live Home Page.
Note: Stylesheets are complex instruments, which need to be set up and modified with care. Cross-browser compatibility issues, very specific syntax and very low fault tolerance mean that there is very little opportunity for novice users to create or even update them.
As a logged-in admin user, click the Home Page Admin link from the Home Page, and choose the CSS file Admin option.
The first stylesheet in the list is the master stylesheet, which controls the default layout of the site to any first-time visitor who comes to the site with an unqualified URL (eg. http://www.mysite.com). Users can be directed to specific stylesheets by adding a ?style=x suffix to the stylesheet. http://www.mysite.com/index.php?style=0 will force the user to see the master stylesheet; ...?style=1 to the next stylesheet in the list, and so on.
Stylesheets can be added, updated (including their filename), and deleted:
Adding a Stylesheet: click the add button to add a new stylesheet. A filename must be entered, and should preferably end with a .css suffix. The content is not validated by Dynamic HomePage. Click the Preview button to view your Home Page with the new stylesheet, Submit to save the stylesheet and return to the CSS file Admin menu, or Return to go back to the CSS file Admin menu without saving. The new stylesheet will be stored in the css/ subdirectory subdirectory of your Home Page directory.
Updating
a Stylesheet: click the update
button corresponding to the stylesheet you want to update. You
can change the name and any content as required. If
you have a local text editor which better suits your purpose than the
text box provided, the content can easily be copy+pasted from and back
to this screen.
Old versions of stylesheets are never deleted by Dynamic
HomePage. They
are moved to .../css/old_css and
renamed to [stylesheet_name]_yyyy-mm-dd_hhmmss.css.
Deleting a Stylesheet: click the delete button corresponding to the stylesheet you want to delete. You will be asked to confirm the action before the stylesheet is deleted. Deleting the final stylesheet will leave users to see the bare HTML on your page, and is rarely a good idea unless you intend to replace it
Random text can be previewed before committing any changes you have made.