VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cocacolacowboys on October 19, 2017, 11:28:18 AM

Title: color of button
Post by: cocacolacowboys on October 19, 2017, 11:28:18 AM
Joomla is 3.8.1 and Virtual Map is version 3.2.4.

Hi,
I have looked at the forum but just find how to change Add to cart button.
I want to change the color and size of Registration and checkout" and "Go to checkout as a guest"  - see attached file

It looks similar when I'm testing with protostar-template.

Where do I change this?

Thank you

Title: Re: color of button
Post by: driver_wedge on October 19, 2017, 11:55:59 AM
You need to add custom CSS to override the styling that exists currently. Are you familiar with right-click and 'inspect element'? You can identify the necessary selectors and properties involved.

Post a link to the site if you need help.
Title: Re: color of button
Post by: cocacolacowboys on October 19, 2017, 12:10:06 PM
Thank you very much for your replay.
I'm not so familiar but I know how to do.
My problem after that is to find the right class name of button in right css-file
Title: Re: color of button
Post by: jenkinhill on October 19, 2017, 13:02:28 PM
On your browser hit F12 to get at dev tools (if present) to inspect the code & identify the class.  In defaultVM the class is .vm-button-correct

Which file the current style definition is located in is irrelevant, as you should add the new style in a css override.
Title: Re: color of button
Post by: cocacolacowboys on October 19, 2017, 13:24:38 PM
Thank you so much to both of you. Now I know everything about Inspector : )