Tutorials
Welcome to the Tutorials
In this area of our site, you will find the answers to the frequently asked questions, as well as answers to How do I and Did you know questions. Please feel free to post a comment on any Q&A.
Here is a list of the top categories and their sub-categories. Select a category to see the Q&As within.
| Category | Q&A | Last Q&A published |
|
|
2 | How do i deactivate the extra styles in 4Seasons... |
Here is a list of the last Q&As that were published.
How do i deactivate the extra styles in 4Seasons Theme
[ Themes ]
298 reads
Deactivating the extra styles is easy to do and on a scale from 1 to 10 i'd give it a difficulty level of 3.
Open the theme.html file of 4Seasons in a text/html editor of choice and locate lines 18 to 24 where you will find this:
Lines above represent the styles, cookie script used to remember user's choice and style switcher.
Theme loads by default using "Spring" style so if i wanted to use just the spring style all i need to do is remove the lines above and also scroll down and locate lines 76 to 81 in theme.html were we find the triggers of the switcher as follows:
Remove the lines above, save file, upload, clear templates_c directory and that's it.
If i wanted "Autumn" style loaded by default for instance you have to follow the steps above plus, you have to locate the fall.css and style.css in the css directory from within 4Seasons. Now you either rename style.css to something else either delete it and rename fall.css to style.css so theme will load it by default
Open the theme.html file of 4Seasons in a text/html editor of choice and locate lines 18 to 24 where you will find this:
Lines above represent the styles, cookie script used to remember user's choice and style switcher.
Theme loads by default using "Spring" style so if i wanted to use just the spring style all i need to do is remove the lines above and also scroll down and locate lines 76 to 81 in theme.html were we find the triggers of the switcher as follows:
Remove the lines above, save file, upload, clear templates_c directory and that's it.
If i wanted "Autumn" style loaded by default for instance you have to follow the steps above plus, you have to locate the fall.css and style.css in the css directory from within 4Seasons. Now you either rename style.css to something else either delete it and rename fall.css to style.css so theme will load it by default
How do i change the colors of the background in Pulse Theme
[ Themes ]
288 reads
Changing the colors of the background is easy to do and on a scale from 1 to 10 i'd give it a difficulty level of 4.
First you would have to open the "theme.html" file from Pulse in a text/html editor of choice and scroll to the very bottom of it.
On line 202 you will find
Quote:
those represent the default colors.
Now go in the jq directory from Pulse where all the jquery plugins are located and open "pulse.jquery.js" in a text/html editor of choice and again scroll to the very bottom of it.
Starting with line 104 you will find all the color values the script can render. If you do a quick comparison with the lines from theme.html i asked you to locate earlier, you will find some of the values such as darkmagenta, green, darkblue, etc. you also note that each value is separated by , and is between ' '.
Following the same pattern you identify the desired color and add it to the theme.html, so if I'm to add yellow in the background the line in the theme will change from
Quote:
to
Quote:
then you save the theme.html, upload, clear "templates_c" and the new added color yellow will be visible after darkkhaki has taken its turn.
Of course if you want to, you can also change the order of the colors so they will follow whatever sequence you wish. You can for example displays only variations of one color or all colors together
First you would have to open the "theme.html" file from Pulse in a text/html editor of choice and scroll to the very bottom of it.
On line 202 you will find
Quote:
['darkgrey','darkblue','darkcyan','darkmagenta','darkorchid','green','darkolivegreen','darkkhaki']
those represent the default colors.
Now go in the jq directory from Pulse where all the jquery plugins are located and open "pulse.jquery.js" in a text/html editor of choice and again scroll to the very bottom of it.
Starting with line 104 you will find all the color values the script can render. If you do a quick comparison with the lines from theme.html i asked you to locate earlier, you will find some of the values such as darkmagenta, green, darkblue, etc. you also note that each value is separated by , and is between ' '.
Following the same pattern you identify the desired color and add it to the theme.html, so if I'm to add yellow in the background the line in the theme will change from
Quote:
['darkgrey','darkblue','darkcyan','darkmagenta','darkorchid','green','darkolivegreen','darkkhaki']
to
Quote:
['darkgrey','darkblue','darkcyan','darkmagenta','darkorchid','green','darkolivegreen','darkkhaki', 'yellow']
then you save the theme.html, upload, clear "templates_c" and the new added color yellow will be visible after darkkhaki has taken its turn.
Of course if you want to, you can also change the order of the colors so they will follow whatever sequence you wish. You can for example displays only variations of one color or all colors together




















