Support » Plugin: CMP - Coming Soon & Maintenance Plugin by NiteoThemes » Background customization on mobile

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Ales

    (@alesmal)

    Hello, you are on a good track, simply change the image for a background image instead of body on mobile devices like this:

    
    @media only screen and (max-width: 400px) {
    #background-image { background-image: url(‘http://146.88.234.198/~grondin/wp-content/uploads/2020/02/lou.jpg’); }
    }
    

    Ales

    maxencegrondin

    (@maxencegrondin)

    Ales,

    Thank you for your reactivity! I tried to replace all the code with the one you sent me but it doesn’t work.
    Do you know where it could have come from?

    Thanks again in advance,
    Maxence

    Plugin Author Ales

    (@alesmal)

    Hi Maxence, oh yes, please insert this updated code, !important is required.

    @media only screen and (max-width: 400px) {
    #background-image {
        background-image: url("http://146.88.234.198/~grondin/wp-content/uploads/2020/02/lou.jpg")!important;
    }
    }
    maxencegrondin

    (@maxencegrondin)

    Ales,

    I just tried that code and it doesn’t work either.
    When I change the code snippet “(max-width: 400px)” to “(min-width: 400px)” it works but on all screens, so it also changes on the desktop.
    Is this the right code to target mobile screens only ? What needs to change ?

    Thank you for your feedback,
    Maxence

    maxencegrondin

    (@maxencegrondin)

    Ales,

    I just tried that code and it doesn’t work either.
    When I change the code snippet “(max-width: 400px)” to “(min-width: 400px)” it works but on all screens, so it also changes on the desktop.
    Is this the right code to target mobile screens only ? What needs to change ?

    Thank you for your feedback,
    Maxence

    Plugin Author Ales

    (@alesmal)

    max-width is correct, try something like 560px or 620px since modern mobiles have higher screen ratio > 400px

    Ales

    maxencegrondin

    (@maxencegrondin)

    Ales,

    That’s exactly what it was !! Thank you so much for your feedback and responsiveness.

    Another small question, is it possible to automatically program the ON / OFF switch of the coming soon page ?

    Have a good end of day,
    Maxence

    Plugin Author Ales

    (@alesmal)

    Not really, only auto disabling is supported if you are using a CMP theme with a counter – coming soon mode can be disabled once counter reaches the specified date.

    Ales

    maxencegrondin

    (@maxencegrondin)

    Hi Ales,

    And these are paid-for features, right?

    Thank you for your feedback,
    Maxence

    Plugin Author Ales

    (@alesmal)

    Nope, free – counter is supported by free Countdown theme.

    Ales

    maxencegrondin

    (@maxencegrondin)

    Ales,

    Okay and can you tell me how to add it or activate the option ?

    Thanks again !
    Maxence

    Plugin Author Ales

    (@alesmal)

    Sure, check out the screen:

    https://imgur.com/a/bskNI6j

    btw leaving a review is always appreciated 🙂

    https://wordpress.org/support/plugin/cmp-coming-soon-maintenance/reviews/

    cheers Ales

    maxencegrondin

    (@maxencegrondin)

    Ales,

    Thanks but it’s not available on my WP admin ?
    >> https://imgur.com/a/fD2fXN8
    Do you know where this came from?

    I will take the time to leave you a review then, yes 🙂

    Thank you for your feedback,
    Maxence

    Plugin Author Ales

    (@alesmal)

    You must activate Coundown theme first, to get those fields available.

    https://imgur.com/a/iWesq46

    cheers

    maxencegrondin

    (@maxencegrondin)

    Ales,

    Oh yes! Thank you very much for your return!
    I’ll leave you a review right away.

    Nice end to the day,
    Maxence

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