Tagged: ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1213858

    Hey there!

    I seem to be having an issue with LearnDash’s Focus Mode displaying correctly on Mobile. I’ve narrowed it down to an issue with Enfold – as changing to Twenty Twenty seems to fix the issue.

    The top header of the LearnDash platform goes beyond the width of the viewable window on mobile. When Enfold is not the active theme, the Learndash header sizes appropriately to 100%.

    I am running the Enfold theme version 4.7.4 and LearnDash version 3.1.7 on WordPress 5.4.1

    Is this an issue anyone has heard of? Hopefully with a quick fix? 🤞🏼

    #1214173

    Hey Braedon,

    Sorry for the problem. Could you post a link to where we can see the problem in question please?

    Best regards,
    Rikard

    #1214218

    Hey!

    It can be viewed on the page attached as an example. It is occuring on all mobile Learn Dash Focus Mode pages though (Lessons + Topics).

    Thanks!
    B

    #1214861

    Hi,

    Thanks for that. I’m not sure I understand the problem though, I think we need to be logged in to be able to see the problem? If so then please post admin login details in private. If possible then please include a screenshot highlighting the issue as well.

    Best regards,
    Rikard

    #1214862

    It can be viewed on any phone browser without logging in at the URL below. I just changed some settings and realized the URL had been updated since I last posted, but the error should show up for you now.

    #1214863

    Also, this is from the plugin developer:

    “Apart from that, you may want to contact support for that theme to have them look into why their theme is overriding values and what they would suggest as a fix. For some reason, on our focus mode page the theme appears to keep the window width at 910px even though the actual device width is much smaller.”

    and they provided the following CSS which fixes it in some scenarios, but I’ve removed it so you guys can take a look at the issue:

    @media screen and ( max-width: 568px ) {
    .ld-in-focus-mode {
    max-width: calc( 100% – 60% );
    }
    }

    #1217000

    Hi,

    We can’t really see the page without logging in because it contains restricted content. Please provide a user account in the private field so that we can check the issue.

    Thank you for your patience.

    Best regards,
    Ismael

    #1218509

    Hey there!

    Apologies for that, we needed to launch the website so had to add the above-mentioned code as a quick fix for the issue. I’ve duplicated the entire website and stripped it down a little bit. I removed the page restrictions so you should be able to see the issue again at the link in PC. I’ve also put a link to the LearnDash demo that shows what things should look like on mobile.

    Again, the plugin developer said it was an issue with Enfold overwriting some of the plugins files, which doesn’t happen in any other theme.

    Thanks!
    Braedon

    #1219049

    Hi,

    Thank you for creating a staging site. We can see the issue now. In order to fix it, we have to override the default minimum width of the html container. Please add this code in the Quick CSS field or the child theme’s style.css file.

    @media only screen and (max-width: 1024px) {
        html {
    	min-width: 0;
        }
    }

    Please don’t forget to toggle the Performance > File Compression settings and remove the cache.

    Best regards,
    Ismael

    #1219153

    That’s perfect.

    Thanks so much for your help! I’ll share this solution with the plugin developers as well so hopefully you get less support requests for this issue.

    Thanks again,
    Braedon

    #1219190

    Hi,

    Did you need additional help with this topic?

    Best regards,
    Jordan Shannon

    #1219193

    No sir.

    You can close the thread if you need, this solution worked.

    Braedon

    #1219195

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Learndash Focus Mode on Mobile’ is closed to new replies.