VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: yurgen on March 07, 2015, 22:57:29 PM

Title: Moving the "Check out now" button UP [SOLVED]
Post by: yurgen on March 07, 2015, 22:57:29 PM
I want to move the "Check out now" button above the order, so people can find it easy.
I tried to move within the PHP-files (after backing up of course), but it is not working; The button doesn't function anymore.
I think I cannot change the code like that without any damage.
Anybody?
Thank you.

VirtueMart 2.6.14
Joomla! 2.5.28
Title: Re: Moving the "Check out now" button UP.
Post by: yurgen on March 09, 2015, 16:48:31 PM
Yes, I did it.
I positioned the <div> which creates the button with "position:absolute; top: -60px;  right: 0px;" and I created and defined the position of the parental <div> with "<div style="position:relative;top:1px;right:1px;">" (and a closing </div> somewhere after the form-code) in the view-files.
I want to thank everybody who replied my request.

Jurgen
Title: Re: Moving the "Check out now" button UP.
Post by: GJC Web Design on March 09, 2015, 16:55:10 PM
But think what you have learned! 

as Anne Isabella Thackeray Ritchie said in her 1885 novel Mrs. Dymond

if you give a man a fish he is hungry again in an hour. If you teach him to catch a fish you do him a good turn.    ;D