Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter andrewgj

    (@andrewgj)

    Hi Tom
    thanks for the reply
    I basically want a blank page with no menus, header/footer sidebar at all, just a list of links. I can remove all the other things when creating the page but can’t see a way remove or disable the mega menu on that page only.
    The aim is to have a blank page with only links like Linktree. The page looks OK on mobile view as you have to click the menu for dropdown but on desktop it is at the top of the page and as the links in it are the same as the ones listed on the page and looks kinda messy.
    Menu Swapper looks a bit complicated creating custom header php files and registering multiple theme locations and as Im not a coder a bit beyond my skills or would take me a long time to figure out.

    Thread Starter andrewgj

    (@andrewgj)

    ok i found a way to do it to edit the header php and remove the toggle menu

    Basically, you have to go into your themes header.php and delete the old menu. You can go do it from WordPress file editor in the admin panel, look for header.php and there should be some lines to the top that resemble css styling for the old header menu. Just delete that and save it.

    I have no idea which bit of the code to modify
    this is the code I think is relevant

    <header id="masthead"  <?php echo $add_class; ?> role="banner">
    	<nav id="site-navigation" class="main-navigation navbar-fixed-top navbar-left" role="navigation">
    		<!-- Brand and toggle get grouped for better mobile display -->
    		<div class="container" id="navigation_menu">
    			<div class="navbar-header">
    				<?php if ( has_nav_menu( 'primary' ) ) { ?>
    					<button type="button" class="menu-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
    						<span class="sr-only">Toggle navigation</span>
    						<span class="icon-bar"></span> 
    						<span class="icon-bar"></span>
    						<span class="icon-bar"></span>
    					</button>
    				<?php } ?>
    				<?php

    lines 35 to 48
    any help appreciated

    • This reply was modified 4 years, 9 months ago by andrewgj.
    Thread Starter andrewgj

    (@andrewgj)

    what no one has an answer to this?
    bump

    Thread Starter andrewgj

    (@andrewgj)

    yay that worked
    thanks @lilleulven for helping out an old newby ??

    Thread Starter andrewgj

    (@andrewgj)

    cheers @lilleulven
    but it doesn’t seem to change anything and getting an error Expected RBRACE at line… in the Additional CSS and the style.css

Viewing 5 replies - 1 through 5 (of 5 total)