News:

Looking for documentation? Take a look on our wiki

Main Menu

I can't change vm-ltr-site.css

Started by luiskar, February 14, 2015, 13:25:51 PM

Previous topic - Next topic

luiskar

I don't know why virtuemart does't show the changes i make in this file. I'm using vm 3.0.4 and joomla 3.3.6 and I want to change add to the cart area margin because it show a blank. In chrome console work but any changes in the file doesn't show in the page. Any ideas?

Example page: http://mimabebes.es/clon/carroceria/carros/inglesina-carros/inglesina-carros-2014/inglesina-classica-tienda.html

jenkinhill

There is no add to cart at the url you provide.  I assume you are using the edited file as an override?  http://docs.virtuemart.net/tutorials/templating-layouts/106-override-vmsite-ltr-css.html

Did you clear all caches?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

luiskar

Quote from: jenkinhill on February 14, 2015, 13:34:41 PM
There is no add to cart at the url you provide.  I assume you are using the edited file as an override?  http://docs.virtuemart.net/tutorials/templating-layouts/106-override-vmsite-ltr-css.html

Did you clear all caches?
Al caches clear. I use a override file in my template but don't work either. This page is only use as catalogue so I don't need add to the cart botton.

GJC Web Design

how can you begin to work on a site when your css is returned as http://mimabebes.es/clon/plugins/system/jch_optimize/assets/clon/gz/30/e4513f956da0f215ae32627422b17b95.css

Switch all this compression and optimization crap off until the site is finished
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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

luiskar

Quote from: GJC Web Design on February 14, 2015, 14:02:07 PM
how can you begin to work on a site when your css is returned as http://mimabebes.es/clon/plugins/system/jch_optimize/assets/clon/gz/30/e4513f956da0f215ae32627422b17b95.css

Switch all this compression and optimization crap off until the site is finished

I was testing jch optimize at this moment. Now it's not working. I modified .addtocart-area{margin: 0 0 4.2em;} to .addtocart-area{margin: 0 0 0em;}. In the file is change but in the live web don't.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

luiskar

Quote from: jenkinhill on February 14, 2015, 17:33:51 PM
Try adding !important
I did that before and don't work either. I erase the file from the template and from components/com_virtuemart/assets/css and the page still works, how can be possible?

jenkinhill

You already must have override css in place, prossibly added to some template css rather than using as an override in templates\[yourjoomlatemplate]\css\vmsite-ltr.css  Usually with Firebug you can identify the right file.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

luiskar

Quote from: jenkinhill on February 14, 2015, 17:51:56 PM
You already must have override css in place, prossibly added to some template css rather than using as an override in templates\[yourjoomlatemplate]\css\vmsite-ltr.css  Usually with Firebug you can identify the right file.

finally I found the problem. The stupid cloudflare has cache of my page too and i don't know why with css files doesn't show the changes. I purge it and now works fine.

jenkinhill

A simple rule.  Don't use Cloudflare while developing a site as like today, you can waste a lot of time.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum