VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: daviat on November 19, 2013, 20:01:12 PM

Title: Is there a way to add a few pixels and space out the custom fields in checkout?
Post by: daviat on November 19, 2013, 20:01:12 PM
Is there a way to add a few pixels and space out the custom fields? (cart dropdowns, etc.). Currently they ateall touching each otgehr and I want to add some breathing room. Where can I do that in the code?

thanks
Title: Re: Is there a way to add a few pixels and space out the custom fields in checkout?
Post by: sandstorm on November 20, 2013, 12:11:36 PM
I guess it depends on wether your using the default VM theme's or using a 3rd party template/theme for virtuemart?

If your using a 3rd party template/theme, then the overide files should be in templates/yourtemplate/html/com_virtuemart
If you are using the standard VM theme then you can create this path and add template override files here.

Within your override files you can add inline CSS to space these area's out (But this is a bit ugly), or better still create a custom.css file, create some new classes with padding, margin spacing, etc and apply these to the areas that you want spacing out.

If you don't already use it, then you should be using Firebug with firefox, to take a look at whats going on with your current CSS for the areas you want spacing out & if you don't know about template overides, there are some great documents about these in the Joomla Docs website, which can be found easily in a search engine.

HTH,  ::)
Andy