Remove vertical side menu
-
Hi Everyone,
Does anybody know a way to remove the vertical side menu from customizr theme? I would like to show only a regular horizontal menu. I have tried all possible combinations at customizr panel. There is no way to completely remove the vertical side menu. I can only choose to display both menus (horizontal and vertical) or only vertical. What I want is to display ONLY the horizontal menu, like most os the websites. I have set my menu options in Appearance -> Customize as:
-Main Menu: -select- (I haven’t selected any)
-Display a secondary (horizontal) menu in the header: checked
-Secondary Menu (horizontal): principal (this is the name of the single menu I have)
-Select a design : side menu (vertical) or regular (horizontal): side menu (vertical) (can’t choose to select none)
-Menu position (for “main” menu): Menu on the right (can’t choose to select none)
-Menu position (for the horizontal menu): Menu on the rightI have set my menu option at Appearance -> Menus as:
-In edit menus -> position on theme: I have checked only for Secondary Menu (horizontal), and I have only one menu.
-In manage positions, for Main Menu: I didn’t selected any (leaved as “-select a menu-“). For Secondary Menu: principal (this is the name of my menu)And after all this, The 3 line menu button insists on appear. When I click on it, it shows all the pages of my website.
this is my website: http://www.drjaleco.com.br
I’ve tried using this snippet, but it didn’t worked at all:
add_filter(‘tc_opt_tc_menu_style’, ‘tc_vertical_menu_in_mobiles’);
function tc_vertical_menu_in_mobiles( $type ) {
return wp_is_mobile() ? ‘aside’ : $type;
}Thanks
-
Hello @drjaleco
To remove the vertical side menu from the customizr theme and only want to show the horizontal menu, you can solve this by using a simple CSS code .
For this at first you need to go to Appearance / Customize / Advanced Options / Custom CSS and then paste the below CSS.
.btn-toggle-nav.sn-toggle.pull-right { display: none; }I hope this will resolve your issue.
Best Regards!!
Hi,
Settings in customiser panel:Main Menu-principal
Main menu design
Select a design : regular (horizontal)
Menu position (for “main” menu): Menu on the rightIn edit menus, do not check anything.
In manage locations, choose main menu as principal and choose none for secondary menuThanks so much Menaka! I worked perfectly.
I love you.
The topic ‘Remove vertical side menu’ is closed to new replies.
