I've gotten enamored with making a theme. I have a theme that works beautifully with one vexing little problem. Settings -> Menu works to add pages and subpages, but the eyes, the indicator of visibility, are not present. The pages are created hidden with no "switch" to change to make visible.
Going to a different theme allows changing the visibility, as does editing the data.js file manually on the server.
I would sure like to fix before I give this to others to use. I can't find any mention of this issue in the forum and I'm not even sure where to start in trying to fix it. I don't see any code in the theme that looks like it is attempting to control the settings window.
Oh, one more thing. I thought maybe the icons of open and closed eye might be hidden. I've moused around on the menu page and don't find any indication there is a hidden, clickable element on the settings->menu page. All indications are the eyes aren't there.
[SOLVED] visibility option is unavailable in the theme I'm creating
Re: visibility option is unavailable in the theme I'm creating
I solved it! My mistake was using menu-toggle as a defined style in my style sheet. menu-toggle is used in the index.php. Specifically, it is used in the settings menu creation code.
The solution is to change menu-toggle to something else. In my case I used menu-toggle-mobile since the class is used in making the site responsive.
The solution is to change menu-toggle to something else. In my case I used menu-toggle-mobile since the class is used in making the site responsive.