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

Hello everyone,

I use opencart 3.0.2.0 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!!!

Newbie

Posts

Joined
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

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
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]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt

Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company


User avatar
Active Member

Posts

Joined
Mon Apr 06, 2015 1:30 pm

Post by parkookk » Fri Oct 27, 2023 7:52 pm

Hi,
Where should I add the custom-style.scss file?

User avatar
Active Member

Posts

Joined
Thu Jan 17, 2013 11:56 pm
Location - london

Post by paulfeakins » Mon Oct 30, 2023 8:43 pm

ostechnologies wrote:
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.
Yes I think this is probably the best way.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Semrush [Bot], SohBH and 395 guests