Site logo

Archived topic

Open-Canvas menu as breadcrumbs

42 replies · Started by John on December 5, 2021

Viewing posts 31–43 of 43

I think we are done with #1 - that Javascript is in place and working - i tested a few links. Can you confirm that ?

Hi David,

Sorry, I had forgotten than you had completed that task, had solved that mystery. Yes, I just checked. It works for Countries: ie. country_topic ... Germany_Communication.

However, it does not work for Contrasts: Germany:USA. I suspect that you need only to copy it over.

In the meantime, I'll go out on a search for Off-Canvas Menu designs which I like and will send you the links to them.

Thanks !

John

Just checked Contrasts and that seems to work for me - may just need to clear the browser caches.
Short term i suggest going to Customizer > Colors > Off Canvas Panel and setting the Current Color to something else as this will make it stand out :)

Hi David,

I just emptied the cache, then powered down my Mac. Powered back up. Opened Safari. Went to site. Logged in. Then selected: Contrasts ... Germany:USA ... Communication ... Directness. Then went to the menu. It did not open up where I was, but instead remained closed.

Is there anything else I can do on my side to get it to display properly?

Thanks.

John

Aah - ok so it only checks for post/pages that are in the menu.
Not sure but edit the script i added to the hook element.
Look for this line:

var elem = document.querySelector('.current-menu-item');

and change it to:

var elem = document.querySelector('.menu-item');

It should in theory find the current page ancestor.

I will what you write above, David. In the meantime, yet another request.

http://www.johnottomagee.com looks too much like http://www.understand-culture.com. In addition, I wanna take a shot at writing on a regular basis. I have a lot to say. I went to the GP Site Library ... Blog ... and like Spacious:

https://generatepress.com/site-library/#site-library

I could not figure out how to import that or graft than on to http://www.johnottomagee.com. Can you, please, instruct me how to do that?

Thanks !

John

Hi David,

In response to what you wrote below . . .

"Aah – ok so it only checks for post/pages that are in the menu.
Not sure but edit the script i added to the hook element.
Look for this line:

var elem = document.querySelector('.current-menu-item');

and change it to:

var elem = document.querySelector('.menu-item');

It should in theory find the current page ancestor."

. . . I gave that a shot. Unfortunately, it did not work.

It was a bit of a long shot ... i am not sure what the solution here is, as we don't have a current-menu-item to work off of.

Got it. Not a problem. Let's leave it alone for now, David.
I've begun reaching out to companies. No paying users yet.
So, I don't know if users will request.

Thank you for taking a shot at it !

John

No problems - ill let you know if we find a solution :)

Thanks, David.

How do I close out this case?

Its already been set to Resolved :)

This archived topic is closed to new replies.