Author Topic: Hide side menu on product detail page  (Read 479 times)

psm

  • Jr. Member
  • **
  • Posts: 116
Hide side menu on product detail page
« on: February 04, 2019, 14:03:40 pm »
Hello,
I would like to ask you for help. Please, how can I hide or disable side menu showing on my product detail page?

When I set up this in product detail page, it hides also my logo from top of page, because span3 is like vertcal block accross whole page (including logo of shop).

<div class="productdetails-view productdetails">
<style type="text/css">
.row-fluid .span3 {display:none; position: absolute;}
.tmp-content-area {padding: 0% 0% 0% 13%; width: 100%;}
</style>

Thank you very much.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27498
  • Always on vacation
    • Jenkin Hill Internet
Re: Hide side menu on product detail page
« Reply #1 on: February 04, 2019, 15:21:08 pm »
URL?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.1.10121 on Joomla 3.9.11 PHP 7.0.33
Testing 3.6.1.10129 on Joomla 3.9.11

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3975
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Hide side menu on product detail page
« Reply #2 on: February 05, 2019, 12:09:16 pm »
You should use a more specific rule
#main-content-handler>.row-fluid>.span3{display:none;}
#main-content-handler>.row-fluid>.span9{width:100%;margin-left: 10px;}
You need perhaps to add or remove some padding or margin

psm

  • Jr. Member
  • **
  • Posts: 116
Re: Hide side menu on product detail page
« Reply #3 on: February 07, 2019, 17:25:13 pm »
Hello thank you very much, it it working now.