Mobile Menu Defaulting to # Link

Discussion in 'BlackBird WordPress Theme' started by deercreek, Feb 25, 2014.

Thread Status:
Not open for further replies.
  1. deercreek

    deercreek Guest

    Joined:
    Apr 4, 2013
    Messages:
    7
    Likes Received:
    0
    My site: http://aw1.deer-creek.ca

    I have several menus that work properly in mobile version.
    But for some reason, whenever I create a menu that begins with "Team", the menu on that page links to # in mobile, then the entire menu drop-down does not appear anymore.

    For example: In mobile version, from the Home Page, the full menu drop down works properly. I tap on "Teams" and I get redirected to the /teams/ page. Then when I tap on the menu again, it no longer drops down and the URL bar just shows # at the end. I have to click the back button twice to go back to the home page (or tap the top logo).

    I created another top menu item and called it "Teams 2" and it behaved the same way.

    Please help.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  3. deercreek

    deercreek Guest

    Joined:
    Apr 4, 2013
    Messages:
    7
    Likes Received:
    0
    Information has been sent. Thanks for replying.
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  5. deercreek

    deercreek Guest

    Joined:
    Apr 4, 2013
    Messages:
    7
    Likes Received:
    0
    Thanks for replying. The solution did not work. I downloaded the fresh copy of BlackBird Theme from the members area from this link: http://inkthemes.com/members/content/f/id/75/ then I deleted the old theme from the site, then I uploaded the new copy. The behavior is still the same.


    It still did not work. When I click on the Teams or Sponsors menu and their sub-menus, the menu just links to # and will not drop down. The menu works from other pages. I can get the same behavior from a normal desktop browser by changing the width of the browser to very narrow.
     
  6. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    This is the issue of your server.
    Your server is not loading mobile js (i.e mobile-menu.js file ) for internal pages
    So contact with your service provider for this issue.
    They will help you.
     
  7. deercreek

    deercreek Guest

    Joined:
    Apr 4, 2013
    Messages:
    7
    Likes Received:
    0
    I am the ISP. The page can be loaded as you can see here: http://aw1.deer-creek.ca/wp-content/themes/blackbirdtheme/js/mobile-menu.js

    What I am seeing is an error in the log file as seen below when I click on the Teams menu:

    Code:
    [Thu Feb 27 03:26:03 2014] [warn] [client 192.168.1.114] mod_fcgid: stderr: PHP Parse error:  syntax error, unexpected T_EXIT in /var/www/clients/client1/web54/web/wp-content/themes/blackbirdtheme/comments.php on line 1, referer: http://aw1.deer-creek.ca/
    [Thu Feb 27 03:26:03 2014] [warn] [client 192.168.1.114] mod_fcgid: stderr: PHP Parse error:  syntax error, unexpected T_EXIT in /var/www/clients/client1/web54/web/wp-content/themes/blackbirdtheme/comments.php on line 1, referer: http://aw1.deer-creek.ca/teams/
     
  8. deercreek

    deercreek Guest

    Joined:
    Apr 4, 2013
    Messages:
    7
    Likes Received:
    0
    I have solved the problem. On line 1 of /blackbirdtheme/comments.php I added a space after the <?php tag:

    Code:
    <?php  // added a space here
    if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
        die('Please do not load this page directly. Thanks!');
    if (post_password_required()) {
        ?>
        <p class="nocomments">This post is password protected. Enter the password to view comments.</p>
        <?php
        return;
    }
     
Thread Status:
Not open for further replies.

Share This Page