• Resolved franzjosef

    (@franzjosef)


    Hi!

    I’m running out of ideas for a solution! The slicknav menu doesn’t appear at all. I just don’t know which css class or id to use, except of “.mainnav”. here’s the code:

    <header>
        	<div id="logo"><img src="<?php echo get_template_directory_uri(); ?>/images/images/logo.png" alt="Logo"></div>
            <nav  class="mainnav">
    
            	<?php wp_nav_menu( array( 'theme_location' => 'Mainnav' ) ); ?>
    
            	<!--<ul id="menu">
                	<li><a href="">HOME</a></li>
                    <li><a href="">üBER MICH</a></li>
                    <li><a href="">KURSE</a></li>
                    <li id="details"><a href="">üBER PSYCHOMOTORIK</a></li>
                    <li><a href="">LINKS</a></li>
                </ul>-->
    
            </nav>
    </header>

    It neither works with one of the wp-generated ids or classes.

    thanks in advance,

    Johannes

    https://www.ads-software.com/plugins/slicknav-mobile-menu/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author neilgee

    (@neilgee)

    What is the code when it renders in the browser, so regardless of slicknav – what is your menu id or css when you inspect the element in your source code.

    Thread Starter franzjosef

    (@franzjosef)

    Hi!

    Thanks for the reply! Here is the code:

    <header>
    <div id="logo">
    <nav class="mainnav">
    <div class="menu-mainnav-container">
    <ul id="menu-mainnav" class="menu">
    <li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-5 current_page_item menu-item-26">
    <li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25">
    <li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-24">
    <li id="menu-item-23" class="details menu-item menu-item-type-post_type menu-item-object-page menu-item-23">
    <li id="menu-item-22" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22">
    </ul>
    </div>
    </nav>
    </header>
    Thread Starter franzjosef

    (@franzjosef)

    The “div id=logo” is closed properly, just not shown, as the code is as it comes out of firebug ??

    Plugin Author neilgee

    (@neilgee)

    Have you tried #menu-mainnav

    Thread Starter franzjosef

    (@franzjosef)

    Hi!

    Yes, I’ve tried all of the given ids and classes!

    Plugin Author neilgee

    (@neilgee)

    Any JavaScript errors in your web dev browser tools?

    Thread Starter franzjosef

    (@franzjosef)

    Nope, no errors! Anyway Thanks for your support, but I′ll stick to some other issues now for a while! Let’s mark it as resolved!

    regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘slicknav menu doesn't appear’ is closed to new replies.