VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: kory27 on August 02, 2013, 23:23:08 PM

Title: Register and Checkout and Checkout as Guest Buttons wrong CSS
Post by: kory27 on August 02, 2013, 23:23:08 PM
Hi,

I don't think I screwed this up because I don't recall seeing the issue until after I upgraded this site to VirtueMart 2.0.22a, but please visit https://www.sailingbeyondboundaries.com/component/virtuemart/user/editaddresscartBT?Itemid=0

You will see the "Register and "Checkout" and "Checkout as Guest" buttons are both inheriting the css from the template's orange.css file, unlike the Cancel button, which is inheriting it from the proper Virtuemart vmsite-ltr.css.

Any clue how to fix this?

I think I would go to the VM view and find it, but I'm not sure what view this is.

Thanks in advance!

Kory
Title: Re: Register and Checkout and Checkout as Guest Buttons wrong CSS
Post by: K&K media production on August 02, 2013, 23:32:21 PM
The buttons have two different classes. Use your own template css to change the layout. Helpful to find the classes is firebug.

Or make a template override and change the class from the button. Files are located in components/com_virtuemart/views/user/tmpl
Title: Re: Register and Checkout and Checkout as Guest Buttons wrong CSS
Post by: kory27 on August 03, 2013, 17:11:20 PM
Thanks for the insight.

Do you know which file in that folder actually is used for that page?

Thanks again.

Kory
Title: Re: Register and Checkout and Checkout as Guest Buttons wrong CSS
Post by: Maxim Pishnyak on August 03, 2013, 17:47:10 PM
Quote from: kory27 on August 02, 2013, 23:23:08 PM
I don't think I screwed this up because I don't recall seeing the issue until after I upgraded this site to VirtueMart 2.0.22a, but please visit https://www.sailingbeyondboundaries.com/component/virtuemart/user/editaddresscartBT?Itemid=0