
Designguide 17
AShop Software © Copyright 2011
2.4 Style Sheets - CSS
The settings in the Layout menu are applied to the styles in the AShop pages through the includes/
ashopcss.inc.php script, which is read by the page templates in the templates directory and by the
storefront script. You can override individual classes in this script with your own to fine tune the layout.
The css/ashop.css file is an example which lists all the different classes you can change. They have self
explanatory names to make it easier to identify which ones to change.
Here are a few examples:
.ashopcategoriesheader - controls the header above the list of categories, where the text "Categories"
will usually appear.
.ashopsearchfield - controls the search input field, where the customer can enter keywords to search for.
.ashopitembox - the product listing boxes.
To give total flexibility we have decided to use new classes for each type of content, which means that
there are a lot of classes available for tweaking, too many to list them all here. Each AShop class has a
name that begins with "ashop" to set them apart from other CSS classes that may be used in the
templates.
Comentários a estes Manuais