Custom CSS & Custom JavaScript in the default theme of OpenCart 2
Sometimes you want to make some changes for the default theme of OpenCart 2. For example you wan to change the blue color of the top menu to red. You have to edit the stylesheet.css file and add code below at the end of the file:
1 2 3 4 5 6 7 |
#menu { background-color: red; background-image: none; } |
The change is done easily. But note that when you upgrade OpenCart. The change will be lost because the stylesheet file is overridden with new file of new version of OpenCart.
You have to change the new stylesheet.css file again. This task is very timeconsuming.
To solve it, viethemes has just create two extension Custom CSS and Custom JavaScript to add your custom CSS & custom JavaScript easier. You don’t have to edit files directly, so your code changes will not be lost when you upgrade OpenCart 2.
You can download two extension on opencart.com: Custom CSS and Custom JavaScript.
Hope they are useful for your store.
-
http://www.aksuniversity.ac.in aks university
-
Sofia Achargui
Categories
- Extensions (6)
- Free Extensions (5)
- OpenCart 2 (14)
- Premium Extensions (3)
- Tips & Tricks (14)
- Tutorials (11)
- Uncategorized (1)
Featured Posts
Recent Posts
- Customize style of your theme with Visual Theme Editor completely
- How to change number of products in one row in the category page
- How to change language from a url link in OpenCart 2
- How to increase number of categories in autocomplete box
- How to display module on all layouts in OpenCart 2