• Resolved borchy37

    (@borchy37)


    Hi
    You’re theme is fantastic and I had no trouble customizing it.

    But when I create a new menu and select it in Theme Locations as Top Menu (Dashboard/Appearance/Menus) it fails to transform to dropdown menu when resizing. When I have nothing selected as Top Menu everything works fine, but it shows only pages whereas I’d like to have an additional menu item.

    I guess changing the name from top-nav in sourcecode would help, but I don’t know where besides in header and css and I don’t know to what to change it.

    Firebug tells me that following code is missing (if that helps):

    <div class="nav-label">Menu:</div>
        <select id="page_id" name="page_id">
    	<option value="38" class="level-0">menu item</option>
    	<option value="42" class="level-0">menu item</option>
       </select>
    </div>

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi borchy37,

    Here’s the solution for your problem:
    Go to script.js file on /wp-content/themes/sampression-lite\lib\js\script.js and comment out the line 84 which contains

    if(!jQuery('#top-nav').length>0){

    Also comment out the line 112 which contains

    }

    Please let us know if this helps.

    Thanks

    Thread Starter borchy37

    (@borchy37)

    That did the trick!

    5 stars for the theme and fantastic support.

    Thank you very much.

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

The topic ‘Top-nav resizing problem’ is closed to new replies.