Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Hide the top menu bar

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 04-16-2018, 01:17 AM
 
zimou13 zimou13 is offline
    
Join Date: Apr 2018
Posts: 1
 

Default Re: How To Customer "Storefront is Closed" Page

I want to hide the top menu bar in all pages in my site running Storefront theme. I have tried all suggestions given under relevant threads in the forum but nothing worked so far. Advise me and relieve me from this headache please.
__________________
zmirli nazim
Reply With Quote
  #2  
Old 04-25-2018, 08:45 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Hide the top menu bar

I'm not sure what "Storefront theme" you mean.

Anyway, you should either a) use the browser's "Inspect this element" function to find what the tag rendering the menu is and apply CSS styles that hide it on the page; or b) create a custom module that decorates the menu widget class (I guess you need this one: \XLite\View\Menu\Customer\Top) and makes it always return false in its isVisible() method.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:21 AM.

   

 
X-Cart forums © 2001-2020