Post by anvasila » Tue Apr 17, 2018 3:57 pm

Hello everyone,

I use opencart and I try to add a new file for my custom css styles. But i can't find where to add them. I try to edit the catalog/controller/startup/sass.php file but as i can see it never excecuted. I already enable the Sass from admin but no changes.

I try to add in index.php this, but with no result again.
require_once(VQMod::modCheck(DIR_SYSTEM . 'sass.php'));

Finally i try to add @import "../custom"; in view/theme/default/stylesheet/sass/bootstrap/_bootstrap.scss but no success again......

I don't know what else i can do. I search in web but i couldn't find a solution.

I need your help. Thank you in advance!!!



Wed Jan 10, 2018 5:02 am

Post by straightlight » Tue Apr 17, 2018 8:50 pm

Any changes you make needs to involve these steps afterwards: viewtopic.php?f=176&p=718325#p717782 (only if the 2nd link steps fails) and viewtopic.php?f=176&p=718325#p718325

The most generated errors being found on Opencart forum originates from contributed programming.


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ostechnologies » Wed Apr 18, 2018 1:24 pm

You can place it under catalog > view > stylesheet / custom.css and provide its path in header.twig file.

Opencart Expert | sales[at]
Skype - manish.osuniverse | Gtalk - manishmt

Extensions for Opencart @ ... extensions - ecommerce website design, development and digital company

User avatar
Active Member


Mon Apr 06, 2015 1:30 pm
Who is online

Users browsing this forum: No registered users and 12 guests