justinae — 2014-01-18T02:22:44-05:00 — #1
Hi all. I'm using the responsive menu from the folks at "Responsive Nav". It's pretty slick. Easy to install and customize.
The problem I'm having is that I use Revolution Slider and in the mobile state the responsive menu is pushing down the slider, not the page, just the slider.
I've tried Z-index but that didn't work and I'm at a loss. I suspect it might be a position: fixed maybe but that affected the layout of the slider.
I also wanted to get any feedback about design, but perhaps I should post that in another forum? The site is mostly done but needs the finishing touches.
justinae — 2014-01-20T17:11:27-05:00 — #2
Perhaps the question was too specific. I'm closer in that the slider no longer pushes down, but i have an overlay in the slider that part of my responsive menu hides behind. Again, tried Z-index but doesn't seem to work.
justinae — 2014-01-20T17:23:41-05:00 — #3
Well not to have a conversation with myself, but position: relative seemed to fix it. Hopefully this helps someone else.
ralphm — 2014-01-20T17:23:56-05:00 — #4
Hm, it seems to be working OK to me, except that the button won't close the menu because it sits behind the heading. You can fix that by adding:
justinae — 2014-01-20T17:47:57-05:00 — #5
Thanks Ralph. As usual, easier than I thought. Cheers. Does it work on your end now?
ralphm — 2014-01-20T21:13:15-05:00 — #6
Does seem to work for me now. I'm not too keen on the margins on the button when the menu is open, though. It seems to hang down in no man's land a bit. Perhaps at least reduce or remove the top margin.
justinae — 2014-01-22T16:20:46-05:00 — #7
Portfolio is 99% done. How do the margins look now?
My final issue is that the little nav button with three lines shows up fine when I resize my browser window but does not show up on an actual phone browser. I tested on both an iphone and android so I don't think it's a browser issue. Perhaps Jquery?
The funny thing is that if I click where I know the menu button is, it still drops down the menu, but it won't retract.
mike88chicago — 2014-01-22T21:31:08-05:00 — #8
I like the website and the style too.
But, when I loaded it up it was kinda slow, almost felt like Flesh was loading up ;p
Try optimizing better, maybe see your score in Google Page Score?
or, just w3 total cache, and wp-minify, and smush it for pix
paulob — 2014-01-23T06:14:09-05:00 — #9
It's showing for me on the mac iphone simulator which is 99% accurate.
It would be better if you did not let the button move when the menu was opened as I didn't spot it had moved!
ralphm — 2014-01-23T07:59:45-05:00 — #10
I just checked on my iPhone and the button indeed is not showing. Not obvious why, though.
paulob — 2014-01-23T09:08:43-05:00 — #11
Does it show in your simulator Ralph? Which ios is your iphone?
ralphm — 2014-01-23T17:47:17-05:00 — #12
My simulator is dead and broken. It hasn't worked for a few years, and I can't be bothered downloading it again, since it's broken on me twice now and I now have access to an iPhone and iPad. Sorry! But my phone is an iPhone4S, running iOS7.
paulob — 2014-01-25T09:48:04-05:00 — #13
Just checked in my wife's iphone (ios6) and the button is showing the same as the iphone simulator (ios7) and working in the same way although it still needs the fix I mentioned above.
ralphm — 2014-01-25T18:14:36-05:00 — #14
And I can confirm that the button shows for me now in iOS7 Safari. Perhaps the page hadn't updated for me last time I tried it (I've been having a few problems getting mobile Safari's cache to clear of late).
[ot]Paul, I just discovered that you can use desktop Safari's web inspector to debug iPhone/iPad! Did you know that? I found out by chance. If the iPhone is plugged into the computer (via the USB cord), you just open Safari on the desktop and choose Develop > Username's iPhone and the inspector opens and shows you the code under the hood on any page open in mobile Safari. Hovering over the code even highlights elements on the iPhone screen!
To set this up, you just have to do these things:
- on the iPhone, go to Settings > Safari > Advanced > Web Inspector (that is, turn on this option)
- open a web page in Safari on the iPhone
- in desktop Safari, make sure the developer options are turned on. Safari > Preferences > Advanced > Show develop menu in menu bar
paulob — 2014-01-26T07:35:25-05:00 — #15
Thanks Ralph, I didn't know that. I'll just have to buy my own iphone to test it out as I usually borrow my wife's iphone to test but she only lets it out of her sight for a few minutes :). I'm still using a phone from the stone age and has had £10 credit on it for the last three years.
justinae — 2014-02-04T14:33:51-05:00 — #16
Hey all. Thanks for the feedback. For some reason I'm not getting emails alerting me to new posts to this thread. Anyway, I'm glad it seems to be working.
Paul I'll look into keeping the menu toggle fixed. I like that idea. If that all works is there a way to "mention" you or otherwise provide props? I'm new to these aspects of forum use.
justinae — 2014-02-04T14:40:18-05:00 — #17
That CSS worked to keep it fixed up top. Thanks for that Paul.
paulob — 2014-02-04T16:52:12-05:00 — #18
Your thanks is praise enough
justinae — 2014-02-05T18:53:41-05:00 — #19
Just noticed an issue. It looks fine when browser is resized but testing on an actual Samsung Galaxy Note II the hamburger icon is down below the header. The emulator is Chrome DevTools looks fine. Grrr....
justinae — 2014-02-05T19:08:38-05:00 — #20
It was the high resolution screen. The responsive nav had a media query for high res screens and it needed to go there as well. Nothing to see here, move along.