Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Add Addon Specific Css To The List Of Css Files For Autogeneration Rate Topic   * * * * * 1 votes

 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 05 June 2017 - 09:07 AM #1

We saw that the css files are automatically clubbed together for mutiple addons and generated as 1 file. How do we add a specific addon file this css files list ?

ATTENTION! Please do not modify this file, it's auto-generated and all your changes will be lost.

The complete list of files it's generated from:
design/themes/vivashop/css/reset.css
design/themes/vivashop/css/grid.less
design/themes/vivashop/css/lib/ui/jqueryui.css
design/themes/vivashop/css/base.css
design/themes/vivashop/css/glyphs.css
design/themes/vivashop/css/styles.css
design/themes/vivashop/css/print.css
design/themes/vivashop/css/dropdown.css
design/themes/vivashop/css/scheme.less
design/themes/vivashop/css/vs-icons.less
design/themes/vivashop/css/vs.less
design/themes/vivashop/css/vs-responsive.less
design/themes/vivashop/css/addons/email_popup/styles.less
design/themes/vivashop/css/addons/buy_together/styles.css
design/themes/vivashop/css/addons/google_recaptcha/styles.css
design/themes/vivashop/css/addons/social_buttons/styles.css
design/themes/vivashop/css/addons/tags/styles.css
design/themes/vivashop/css/addons/tags/scheme.less
design/themes/vivashop/css/addons/news_and_emails/styles.css
design/themes/vivashop/css/addons/news_and_emails/scheme.less
design/themes/vivashop/css/addons/sd_loyalty_program/styles.less
design/themes/vivashop/css/addons/sd_affiliate/styles.less
design/themes/vivashop/css/addons/sd_like_product/styles.css
design/themes/vivashop/css/addons/rma/styles.css
design/themes/vivashop/css/addons/rma/scheme.less
design/themes/vivashop/css/addons/bestsellers/styles.css
design/themes/vivashop/css/addons/form_builder/styles.css
design/themes/vivashop/css/addons/banners/styles.css
design/themes/vivashop/css/addons/discussion/styles.css
design/themes/vivashop/css/addons/discussion/scheme.less
design/themes/vivashop/css/addons/wishlist/styles.css
design/themes/vivashop/css/addons/wishlist/scheme.less
design/themes/vivashop/css/addons/image_zoom/styles.css
design/themes/vivashop/css/addons/hybrid_auth/colorbox.css
design/themes/vivashop/css/addons/hw_graphic_text_banners/styles.less
design/themes/vivashop/css/addons/my_changes/styles.less
design/themes/vivashop/css/addons/powerfull_owl_free/styles.less
*/

Warm Regards,
Admin | MVE: 4.2.4

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11365 posts

Posted 05 June 2017 - 07:36 PM #2

Use the .design/themes/[your theme]/templates/addons/[your addon]/hooks/index/styles.post.tpl file and have content similar to

{style src="addons/[your addon]/styles.css"}

Which will then include the file represented by the 'src' atrribute in the design/themes/[your theme]/css directory.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • fleaffair
  • Senior Member
  • Members
  • Join Date: 11-Jun 14
  • 537 posts

Posted 06 June 2017 - 06:33 AM #3

Thanks it worked.


Warm Regards,
Admin | MVE: 4.2.4