Author Topic: class "Clear" on product details page  (Read 2121 times)

Stannite

  • Beginner
  • *
  • Posts: 40
class "Clear" on product details page
« 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.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10338
  • VirtueMart Version: 3+
Re: class "Clear" on product details page
« Reply #1 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.

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Stannite

  • Beginner
  • *
  • Posts: 40
Re: class "Clear" on product details page
« Reply #2 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]

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10338
  • VirtueMart Version: 3+
Re: class "Clear" on product details page
« Reply #3 on: November 07, 2011, 19:39:12 pm »
so there is a clear ABOVE the product?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Stannite

  • Beginner
  • *
  • Posts: 40
Re: class "Clear" on product details page
« Reply #4 on: November 07, 2011, 19:41:49 pm »
yes, that is indeed the problem.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10338
  • VirtueMart Version: 3+
Re: class "Clear" on product details page
« Reply #5 on: November 07, 2011, 19:44:00 pm »
then yea remove it.

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Stannite

  • Beginner
  • *
  • Posts: 40
Re: class "Clear" on product details page
« Reply #6 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?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10338
  • VirtueMart Version: 3+
Re: class "Clear" on product details page
« Reply #7 on: November 07, 2011, 19:57:33 pm »
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Stannite

  • Beginner
  • *
  • Posts: 40
Re: class "Clear" on product details page
« Reply #8 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.