This topic has 18 replies, 3 voices, and was last updated 8 years, 11 months ago ago by Jack Richardson
Hi, I found your advice on how to achieve a collapsed menu as default (the first topic always expands)
“You may close the first category by changing this file: blanco\js\script.js
Comment out line 233 jQuery(’.categories-group.has-subnav:first’).addClass(‘opened’).find(‘ul’).show();”
Where and how do I access this file and what does “comment out mean”?
thanks so much
Hello,
You can find this file in wp-content\themes\blanco\js\ folder via FTP.
To comment out code you need add these /*
*/
characters, for example
/*jQuery(’.categories-group.has-subnav:first’).addClass(‘opened’).find(‘ul’).show();*/
Regards,
Robert Hall.
Thank you so much Robert. So I have located wp-content\blanco\js folder via ftp. but that is as far as I”ve got.
The only things is I cannot locate the part written in red or rather don’t know how to integrate. I would be grateful for your guidance.
LM
I am using FileZilla 🙂
Hello,
Please provide us with wp-admin and FTP credentials in Private Content.
Regards,
Robert Hall.
Much appreciated
please see private content
Hello,
We need also link to the page and wp-admin access in Private Content.
Regards,
Robert Hall.
sure thing – sending your way
Hello,
Sorry for a long delay.
Your credentials to wp-admin aren’t correct. Please check them.
Regards,
Robert Hall.
Hello,yes I am so sorry, i have corrected it in the private content
Sincerely,
LM
Hello,
You’ve added the login and password for goodaddy account, but we need access to admin panel. See screenshot : http://prntscr.com/98qih0
Regards,
Robert Hall.
I see, the thing is that the website is a managed wordpress site. So they make me login through their portal first.If you follow the below, you’ll get there 🙂
Hello,
I’ve commented out this code in script.js:
jQuery('.categories-group.has-subnav:first').addClass('opened').find('ul').show();
Please clear all cache and check it.
Regards,
Robert Hall.
Thanks so much Robert. I did clear cache and check on another computer but for some reason it it still showing the expanded first item custom menu item on the left handside of the homepage/products page.
Do you see it still expanded?
thanks LM
Hello again Robert,
I called godaddy about direct login to wordpress. I was given a solution and put it in private contents.
Hello,
I’ve logged in WP Dashboard via GoDaddy panel and cleared cache on a server.
Please check your site now.
Best regards,
Jack Richardson.
It worked and looks terrific 🙂
thank you very much
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘Have a collapsed menu’' has been successfully resolved, and the topic is now closed for further responses