I am trying to change styles via ocmod, and the problem is that the modified style file appears in the system/storage/modification/catalog/view/theme/theme_lightshop/css/main.css , but when you open the site, the style file main.css remains former.
What could it be?
How to correct the style file from ocmod?

 <modification> ... <file path="catalog/view/theme/theme_lightshop/css/main.css"> <operation> <search><![CDATA[ .nav-submenu-slider__inner .slick-prev,.nav-submenu-slider__inner .slick-next { ]]></search> <add position="before"><![CDATA[.row.nav-submenu__full-width { letter-spacing: normal!important; } .nav-submenu { padding: 26px 0 16px; max-width:none; }]]></add> </operation> </file> </modification> 

opencart 2.3 is installed

other changes in the same ocmod file change the code normally:

  <file path="catalog/view/theme/theme_lightshop/template/common/currency.tpl"> <operation> <search><![CDATA[ <div class="header__currencies <?php echo count($currencies) < 2 ? 'header__currencies--hide' : ''?>"> ]]></search> <add position="replace"><![CDATA[ <div class="header__currencies <?php echo count($currencies) < 2 ? 'header__currencies--hide' : ''?>" style="display:none"> ]]></add> </operation> </file> 

    1 answer 1

    Using oCmod, like vQmod, you cannot change the css and js files. If you need to change styles using modifiers, then make changes to the header template file, adding inline styles or connecting your css file.