- This topic has 5 replies, 2 voices, and was last updated 7 years, 4 months ago by Theme Horse Support Team.
-
AuthorPosts
-
August 22, 2017 at 12:02 am #52793info258Participant
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)
August 22, 2017 at 6:18 am #52803Theme Horse Support TeamKeymasterHi 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!
August 22, 2017 at 7:07 pm #52852info258ParticipantIf 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?
August 23, 2017 at 5:04 am #52856Theme Horse Support TeamKeymasterHi
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-37Thank you!
August 24, 2017 at 5:24 pm #52935info258ParticipantThis 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?
August 25, 2017 at 5:17 am #52939Theme Horse Support TeamKeymasterHi
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!
-
AuthorPosts
- You must be logged in to reply to this topic.