The styles.json file exists only in the WordPress themes
In Joomla! if you want to remove the existing styles you should do the following steps:
1) Disable the style switcher under features tab
2) Select the style I as a default style in the template settings
3) Remove other styles files:
* css/styleX.css,
* css/typography/typography.styleX.css, css
* css/system/error.styleX.css
* css/system/offline.styleX.css
You should leave only the following files:
* css/style1.css,
* css/typography/typography.style1.css, css
* css/system/error.style1.css
* css/system/offline.style1.css
4) Remove other styles from the list in the template options (in templateDetails.xml file):
- Code: Select all
<field name="template_color" type="list" default="1" label="TPL_GK_LANG_TEMPLATE_COLOR" description="TPL_GK_LANG_TEMPLATE_COLOR_DESC">
<option value="1">TPL_GK_LANG_COLOR_1</option>
<option value="2">TPL_GK_LANG_COLOR_2</option>
<option value="3">TPL_GK_LANG_COLOR_3</option>
<option value="4">TPL_GK_LANG_COLOR_4</option>
<option value="5">TPL_GK_LANG_COLOR_5</option>
<option value="6">TPL_GK_LANG_COLOR_6</option>
</field>
should be changed to:
- Code: Select all
<field name="template_color" type="list" default="1" label="TPL_GK_LANG_TEMPLATE_COLOR" description="TPL_GK_LANG_TEMPLATE_COLOR_DESC">
<option value="1">TPL_GK_LANG_COLOR_1</option>
</field>
5) Edit the following files and define your own style colors:
* css/style1.css,
* css/typography/typography.style1.css, css
* css/system/error.style1.css
* css/system/offline.style1.css