Author Topic: Override only works with one file  (Read 2121 times)

T.A. Garrison, LLC

  • Jr. Member
  • **
  • Posts: 70
  • Thomas Garrison
    • T.A. Garrison, LLC
Re: Override only works with one file
« Reply #15 on: February 22, 2023, 22:55:19 pm »
The "typical" and "best practice" for J4 CSS override is to create a child-template, then create a new CSS file named "user.css".
When you do that, the file is found here:
/media/templates/site/(My-Template)/css/user.css

User is the only name that will work with J4. If you name the CSS file anything else, it won't work.

That structure in J4 is not related to the override suggested by Virtuemart.

So again. Where in J4 using VM4, would the "correct" path to override Virtuemart CSS be found?
Using what's been suggested here is not working.
T.A. Garrison, LLC
3150 Orleans St. # 28261
Bellingham, WA 98228

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10744
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Override only works with one file
« Reply #16 on: February 23, 2023, 14:45:36 pm »
/templates/cassiopeia/css/vm-ltr-site.css  etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation