[Resolved] Responsive screen width

Home Forums Support [Resolved] Responsive screen width

Home Forums Support Responsive screen width

Viewing 15 posts - 16 through 30 (of 39 total)
  • Author
    Posts
  • #131755
    John MacKenzie

    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

    #131757
    Tom
    Lead Developer
    Lead Developer

    The above code didn’t work? All caching etc.. emptied?

    Can you email me the URL to the site?

    #131760
    John MacKenzie

    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.

    #131762
    Tom
    Lead Developer
    Lead Developer

    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.

    #131768
    John MacKenzie

    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

    #131769
    Tom
    Lead Developer
    Lead Developer

    I made a change to the code – can you give this a try?: https://gist.github.com/generatepress/9282385984459c7ac6f2

    #131773
    John MacKenzie

    there we go, that works. thanks!

    #131774
    Tom
    Lead Developer
    Lead Developer

    No problem!

    #132028
    Eric

    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

    #132098
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #136819
    richpags

    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

    #136847
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #136861
    richpags

    Tom,

    Done mate!
    To easy.

    Thanks for that.

    Richie

    #136986
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #181002
    Hamish

    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.

Viewing 15 posts - 16 through 30 (of 39 total)
  • You must be logged in to reply to this topic.