• Resolved ejazshah

    (@ejazshah)


    Hi

    The popup works for both desktop and mobile, however, on the mobile, the image is all squashed up.
    Is there any way to have it showing how it is on the desktop?

    I have gone through old threads and tried a few CSS codes but none seem to work.

    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hi @ejazshah,

    Thank you for contacting us.

    Viewing your popup on Mobile, I can see this is caused because your image proportion does not fit well as device width reduces the amount of the container for the image to fit. What can be done would be to increase the height of the container, so it adapts more towards your image proportion. Please try adding the following CSS in your Popup’s Appearance > Custom CSS section or in WordPress default Appearance > Customizer > Custom CSS section:

    @media only screen 
      and (min-device-width: 320px) 
      and (max-device-width: 480px){
    .module_id_3 .hustle-image.hustle-image-fit--fill {
        height: 300px!important;
    }
    }

    Best,
    Jonathan S

    Thread Starter ejazshah

    (@ejazshah)

    Hi Jonathan

    Thank you for your reply

    I have tried both methods, yet, it still does not seem to work.
    I have added the CSS in the popup section and also the WordPress section, with no luck!!

    Help!!

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @ejazshah

    I checked your site again and I think there might be a slight adjustment in this CSS needed as it’s a bit “limited” in terms of screen width.

    I’d try replacing this part of the code you were provided earlier

    @media only screen 
      and (min-device-width: 320px) 
      and (max-device-width: 480px){

    with just this

    @media only screen 
      and (max-device-width: 782px){

    Could you try this?

    Also make sure to clear all caches on site/server after adding the code (if there are any).

    Best regards,
    Adam

    Thread Starter ejazshah

    (@ejazshah)

    Hi Adam

    Thanks for your reply

    I have tried everything you have mentioned above but still no luck!!!

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @ejazshah,

    It’s odd that the CSS didn’t work, have you removed the CSS I don’t see any relevant CSS regarding above when I check the page.

    Do you have any cache enabled? If yes, did you try clearing the cache to see whether that worked?

    Could you please try the following new CSS and see whether that helps? You can remove the previous given CSS.

    @media screen and (max-width: 480px) {
        .hustle-layout .hustle-image {
        
            height: 300px !important;
        }
    }

    You can add the above CSS within Hustle side by editing the popup and adding in the “Custom CSS” section under the Appearance tab as shown in the following screenshot:

    Screenshot at 17:17:30.png

    If you still have issues even after the above CSS is added, then most likely it has to do with cache. So please make sure to clear the cache and then check how it goes.

    Looking forward to your response.

    Best Regards,
    Nithin

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @ejazshah ,

    We haven’t heard from you for a week now, so it looks like you no longer need our assistance.

    Please feel free to re-open this ticket if needed.

    kind regards,
    Kasia

    Thread Starter ejazshah

    (@ejazshah)

    I do apologise for not getting back I have been away from my system this week!

    Just tried the code @wpmudevsupport11 gave and that works!!

    Thank you for all your help!!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Popup Mobile View’ is closed to new replies.