Archived topic
Responsive screen width
38 replies · Started by Naomi on February 15, 2015
Hi Tom
thanks, yea I know, but this is what they want. I tried doing all that and still no luck mobile menu still shows at 768
thanks
John
The above code didn't work? All caching etc.. emptied?
Can you email me the URL to the site?
Hi Tom
yes caches were cleared... ok so I see the issue, its not reading from my child mobile.css if i edit the mobile.css file in the parent theme to 767, it does work but not if i edit it in the child theme.
And this function is added to your child theme?: https://gist.github.com/generatepress/9282385984459c7ac6f2
It should remove the core mobile.css file and add your own.
Hi Tom
yes it is. now the first time i added it i wasnt sure i should change the "100" to 767 but ive set it exactly as it should be now, and still no luck. in case you want to look, i emailed the site friday?
its still reading the parent mobile.css
thanks a lot!
John
I made a change to the code - can you give this a try?: https://gist.github.com/generatepress/9282385984459c7ac6f2
there we go, that works. thanks!
No problem!
Hi Tom
Is there a chance to have it in GP directly to avoid creating a child theme?
This is one of the top customization feature I would like to have.
Thanks
Eric
Me too! I'm trying to find the best way to do it.
I had one idea, but it seems that caching/minifying plugins didn't work with that idea.
Will update this thread once I've figured something out :)
Hey all,
I also seem to be having a mobile issue. just on the home page.
there's blank space when moving to the right of the screen.
Not a massive issue, but would be nice to get it sorted.
All other pages seem fine.
Is the child theme fix still the only way around this?
Cheers
Richie
reelmovieposters.com.au
Hi Richie,
It's that black line you're using.
Instead of putting a bunch of characters like that, add this HTML: <hr />
That should work much better :)
Tom,
Done mate!
To easy.
Thanks for that.
Richie
No problem :)
Tom
Any update on customisation options for when mobile menu kicks in? I have just read your dilemmas in trying to implement this. I am looking for mobile menu to kick in on tablet landscape.
