badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

MENU TOGGLE BUTTON

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #52793
    info258
    Participant

    When I go from the desktop view of my website to an iPad or iPhone screen view of the website, the side menu (left side below website title) disappears. in its place there is a menu button in the (top right header) of the screen. What I am trying to do is have the menu that is present on the desktop version of my website (left side below website title) be accessible through the menu toggle button (top right header). Currently the menu toggle button is inactive and allows no function. I tried to go through different menu options in the wp-admin customization but nothing I tried had any effect. Hoping to get some feedback or direction on how I can manage this. thank you

    ps. if it helps to see the actual website, this is the url: (http://www.markpumper.com)

    #52803

    Hi info258,

    It seems that you have customised the code. Some built in scripts are not loaded in your site which is necessary for menu toggle. Please install fresh copy of theme and let us know.

    Thank youQ!

    #52852
    info258
    Participant

    If I Install a fresh copy of the theme, all of the customized code that I have done will be erased. Could you tell me the lines of code that are specific for the menu toggle to function?

    #52856

    Hi
    yes if you upgrade then all your customized code will be lost. So you need to create a child theme to be safe from customized code lost before making any changes in the code. We always recommended you to create a child theme before making any changes in the code.

    Go to theme folder -> inc -> structure -> functions -> functions.php in line no 36 you have to add this line of code
    wp_enqueue_script('wp-portfolio-scripts', get_template_directory_uri().'/js/scripts.js', array('jquery'), false, true);
    So add all code from line 13-37

    Thank you!

    #52935
    info258
    Participant

    This line of code is already present in that folder in line no 35. Is there something else that may be the issue, or is there something I must do to turn on the functionality of this menu toggle button?

    #52939

    Hi
    While viewing your source page the above script is not loaded means you did something wrong. You have customized the code so we can’t help you with it. Please reinstall a fresh copy of Wp Portfolio theme and activate it and everything will be seems ok. So that you can change it manually.

    Make a backup of your customized code before installing fresh theme.

    Thank You!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.