admin管理员组文章数量:1130349
My website (bargainbosss) all of a sudden started displaying a navigation bar at the top of the website. I don't have that menu option checked, only a primary menu. I can't figure out how to remove this bar and it's driving me crazy. I just want the primary menu--the one underneath my logo. Does anyone have any suggestions on how I can remove this? Thank you in advance.
My website (bargainbosss) all of a sudden started displaying a navigation bar at the top of the website. I don't have that menu option checked, only a primary menu. I can't figure out how to remove this bar and it's driving me crazy. I just want the primary menu--the one underneath my logo. Does anyone have any suggestions on how I can remove this? Thank you in advance.
Share Improve this question asked Jan 26, 2018 at 14:35 bargainbosssbargainbosss 111 gold badge1 silver badge2 bronze badges 1- Can you add more detail? What theme are you using? Do you have any widgets turn on? Have you recently added or updated your plugins or theme? – phatskat Commented Jan 26, 2018 at 15:02
1 Answer
Reset to default 1Looks like the author didn't include the check for menu items before calling the top nav bar.
Two methods:
Dashboard --> appearance --> customize --> Additional CSS add the following piece of code and save changes:
#topnav { display:none; }Create a child theme and include this page
neville\template-parts\partials\headers\header-tmpl-default.php. Make sure to remove the below line from the page you included in the child theme:add_action( 'neville__header_default', neville__header_default_top_nav', 20 );
Either one should work. However, I'd recommend the second method. Its always better to have a child theme while making changes to any theme.
My website (bargainbosss) all of a sudden started displaying a navigation bar at the top of the website. I don't have that menu option checked, only a primary menu. I can't figure out how to remove this bar and it's driving me crazy. I just want the primary menu--the one underneath my logo. Does anyone have any suggestions on how I can remove this? Thank you in advance.
My website (bargainbosss) all of a sudden started displaying a navigation bar at the top of the website. I don't have that menu option checked, only a primary menu. I can't figure out how to remove this bar and it's driving me crazy. I just want the primary menu--the one underneath my logo. Does anyone have any suggestions on how I can remove this? Thank you in advance.
Share Improve this question asked Jan 26, 2018 at 14:35 bargainbosssbargainbosss 111 gold badge1 silver badge2 bronze badges 1- Can you add more detail? What theme are you using? Do you have any widgets turn on? Have you recently added or updated your plugins or theme? – phatskat Commented Jan 26, 2018 at 15:02
1 Answer
Reset to default 1Looks like the author didn't include the check for menu items before calling the top nav bar.
Two methods:
Dashboard --> appearance --> customize --> Additional CSS add the following piece of code and save changes:
#topnav { display:none; }Create a child theme and include this page
neville\template-parts\partials\headers\header-tmpl-default.php. Make sure to remove the below line from the page you included in the child theme:add_action( 'neville__header_default', neville__header_default_top_nav', 20 );
Either one should work. However, I'd recommend the second method. Its always better to have a child theme while making changes to any theme.
本文标签: menushow to remove the top navigation bar or header top on wordpress website
版权声明:本文标题:menus - how to remove the top navigation bar or header top on wordpress website? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749235353a2337183.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论