VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: stanza_nate on March 18, 2014, 02:22:46 AM

Title: Editing registration page - removing login & minor CSS problems
Post by: stanza_nate on March 18, 2014, 02:22:46 AM
Hi everyone,

I'll start by mentioning that I'm still new to Virtuemart & fairly new to PHP, so you may need to bear with me if you can help with this. :)

I'm building a site for a client/friend and we want to remove the login form from the registration page, as I already have a login form within the left column as is and therefore it's redundant. I've tried to no avail to remove this, every time I think I'm getting close I just end up breaking the whole account page.

I'm also trying to edit the CSS for the registration page - I've copied the VM CSS into it's own file in my template & called that separately (I did disable the original VM CSS within the VM config too). I've edited most of what I want, but I still have two problems here.
First is I can't seem to get rid of the grey hover state, although this isn't such a big issue, I may end up implementing it through the rest of the site anyway.

Second is the drop down menus for Title, Country & State/Province/Region - I want to add a margin-bottom of 10px to these to space them out but I'm having trouble finding the CSS to edit for them. I've tried editing it directly using Firbug to find the element name but it seems like there's something overriding it as it refuses to work. The rest of the inputs work fine, it's just these drop down lists that are giving me hell.
I tried adding a margin to the table rows and cells directly and that didn't work either.

Any help would be much appreciated!

Nathan
Title: Re: Editing registration page - removing login & minor CSS problems
Post by: stanza_nate on March 18, 2014, 02:29:13 AM
Never mind about the margin-bottom for the drop down menus. Just solved it myself, can't believe I didn't just do it to each div... If there's a better way to do it that applies it to just these drop downs without having to do it to each individual div and nowhere else on the site I'd still like to hear it!

Edit - just solved the other CSS issue with the hover states... Still no idea on the login form though?
Title: Re: Editing registration page - removing login & minor CSS problems
Post by: lanthan on April 08, 2014, 14:18:38 PM
Can you provide a picture or a link to the side. Then I probably can help you.
Title: Re: Editing registration page - removing login & minor CSS problems
Post by: SimonJae on April 09, 2014, 01:51:47 AM
on the fly here -
Two things to note -
a) probably only need to turn "log-in" off in Joomla (alternatively VM) 
b) to those ends it sounds like you should be looking at the Joomla template CSS (see firebug)

Hope that helps - Simon