how to remove the top menu
11 years ago
joshseacat
Member
Hi, I am a novice web guy just trying to design my own site so i dont have to pay anyone. I am curious if someone could help me figure out how to remove the top menu altogether. I want just the menu below the logo.
www.killtheshave.com thanks |
11 years ago
m3
Member
Hello,
You have several ways to do that, i will write all of them and you can pick up the best solution for yourself ( your web, your design, your way! ): 1. Manage Menus: You can manage your menu's position, so they never appears on the secondary menu. log in your WP Admin and go to Appearance ( left sidebar menu ), go to -> Menus. in 'Theme Location' table in main content, Set your 'Top Menu' to 'Null' and set your 'Main Menu' to 'Main' ( in my theme it is Null / Main, it may be different in your theme ). 2. Hide them: You can hide them with CSS and it's a good way to keep your codes clear if you unable to do first solution successfully. Just go to your YourThemeDirectory ( wp-content\themes\linuxd\ ) and add open Style.css with notepad or some editor and add this code to last Line
and if you would like to remove the background ( a gray line for secondary menu ) above your logo too Open Style.css with notepad or some editor and remove this following row in your Style.css ( following row is Line 24, in Body attribute tags just in your theme )
3. Change PHP and HTML codes to remove whole of Secondary Menu: You can remove PHP and HTML codes to remove whole of your Secondary Menu. Go to YourThemeDiretory ( wp-content\themes\linuxd\ ) and open Top.php with notepad or some editor and find ->
and
and
and remove all of them. the above rows must remove clearly. Watch out when you removing them. first take a back up of your Top.php mean you should remove
codes together! you still can follow second solution after following third solution if you would like to remove that background. the First solution works in all themes, the Second solution is specific for Linuxd theme, the Third Solution works in all themes. Hope Work, Have fun! |
11 years ago
joshseacat
Member
wow! that was quick and worked like a charm. thanks!
|
11 years ago
Mark Klerks
Member
Great solutions. I got 1 little problem. If i open the site with a mobile i get 2 menus with "go to ...". the first one is emtpy. the second has al the menu items i want. How can i delete the first one?
Thanks |
11 years ago
Mark Klerks
Member
I found the solution.
Also delete
from top.php I wotks great now! |
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts