VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: psm on February 04, 2019, 14:03:40 PM

Title: Hide side menu on product detail page
Post by: psm 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.
Title: Re: Hide side menu on product detail page
Post by: jenkinhill on February 04, 2019, 15:21:08 PM
URL?
Title: Re: Hide side menu on product detail page
Post by: Studio 42 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
Title: Re: Hide side menu on product detail page
Post by: psm on February 07, 2019, 17:25:13 PM
Hello thank you very much, it it working now.