Jump to content
m_hutchins

Responsive Menu Breakpoints

Recommended Posts

Hello there,

I'm trying to have the responsive/"hamburger" menu appear at a slightly larger display screen width (probably around 1024-ish) and not having very much luck. I've tried altering and making this happen with css, but again, no luck. I believe it's being controlled (or somewhat) by JS (and I could be wrong...). Seeing that I'm not much of a JS guy, I'm having some issues figuring this out.

I see some breakpoints that I've tried to edit at around line 840 in the /js/scrip.js file...and I didn't have any luck there as well.

Any and all help would be greatly appreciated!

Thanks in advanced!
mh

Share this post


Link to post
Share on other sites

This is a job for those with telepathy powers, who can see what the problem is the OP website, especially on line 840 in script.js, sorry my powers don't extend to telepathticness so i and many more can't help in this situation.

Share this post


Link to post
Share on other sites
6 hours ago, m_hutchins said:

Hello there,

I'm trying to have the responsive/"hamburger" menu appear at a slightly larger display screen width (probably around 1024-ish) and not having very much luck. I've tried altering and making this happen with css, but again, no luck. I believe it's being controlled (or somewhat) by JS (and I could be wrong...). Seeing that I'm not much of a JS guy, I'm having some issues figuring this out.

I see some breakpoints that I've tried to edit at around line 840 in the /js/scrip.js file...and I didn't have any luck there as well.

Any and all help would be greatly appreciated!

Thanks in advanced!
mh

Do you perhaps have an example for us to see where its going wrong?

Share this post


Link to post
Share on other sites

Hi there, m_hutchins

script.js: Line 845

values = [0, 576, 768, 992, 1200, 1600];

script.js: Line 1124

breakpoint: 992,

script.js: Line 1175

values = [0, 576, 768, 992, 1200, 1600],

 

These might be the sizes you were looking for.

 

Edited by Funce

Share this post


Link to post
Share on other sites

Funce, I tried to edit those a couple of days ago and had no luck. I also changed all the break points at 992 to 1100 in the script.js file and the style.css file and also didn't have any luck. I'm completely baffled. THanks for taking the time to take a peak though!

Share this post


Link to post
Share on other sites

I was actually able to kind of figure it out. I literally just just every 992px to 1024px in all the files and it worked. I'm not exactly sure which file(s) where the winners, but at this point, everything appear to work properly.

Thanks again!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×