VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Stannite on November 07, 2011, 14:57:32 PM

Title: class "Clear" on product details page
Post by: Stannite on November 07, 2011, 14:57:32 PM
Hi all,

I am using Joomla 1.7.2 and VM 2.0.0-RC-2K. I am making a site with a three column layout. What i noticed is that the product details are shown below the menu on the left. When searching this forum i saw people changing php files directly, commenting out the line: <div class="clear"></div> which makes sure the div is cleared on both sides as stated in the css file.

I was wondering if this is the correct solution or is there a better way to do this?

Thanks in advance.
Title: Re: class "Clear" on product details page
Post by: PRO on November 07, 2011, 15:12:45 PM
there is no wrong solution.

I DONT see how removing it would make sure its clear though.

Title: Re: class "Clear" on product details page
Post by: Stannite on November 07, 2011, 19:34:37 PM
Thanks for your reply BanquetTables.pro,

The thing is, the class "clear" seems to be pushing the product details below my menu ( which is floating on the left side). I have attached an image of it. You don't see how it would make sure it's clear, what exactly do you mean?

[attachment cleanup by admin]
Title: Re: class "Clear" on product details page
Post by: PRO on November 07, 2011, 19:39:12 PM
so there is a clear ABOVE the product?
Title: Re: class "Clear" on product details page
Post by: Stannite on November 07, 2011, 19:41:49 PM
yes, that is indeed the problem.
Title: Re: class "Clear" on product details page
Post by: PRO on November 07, 2011, 19:44:00 PM
then yea remove it.

Title: Re: class "Clear" on product details page
Post by: Stannite on November 07, 2011, 19:55:20 PM
ok, i was just wondering, when i update to a newer version, i probably need to remove it again. Or is there another way of changing it without changing virtuemart files?
Title: Re: class "Clear" on product details page
Post by: PRO on November 07, 2011, 19:57:33 PM
use an override. dont edit the original

http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Title: Re: class "Clear" on product details page
Post by: Stannite on November 07, 2011, 20:08:37 PM
Thanks very much, i'll see if i can create an override. haven't done that before....

Thanks again.