Hi,
I'm trying to make a couple of cosmetic changes to the admin to suit my needs and I need to edit stylesheet.css for it, but I want to make sure my edits are preserved between opencart updates.
So I'm wondering whats the best way to go about it?
Thanks
You should create your own CSS file and include in the controller using VQMOD.
This way you will be able to make changes without modifying core files.
To include your CSS file from controller, you can use below function.
$this->document->addStyle('view/stylesheet/css_file_name.css');
This way you will be able to make changes without modifying core files.
To include your CSS file from controller, you can use below function.
$this->document->addStyle('view/stylesheet/css_file_name.css');
Regards,
Knowband Team
Opencart Plugins: Knowband Store
Email: support@knowband.com
Who is online
Users browsing this forum: No registered users and 13 guests