Using AMP on Dark Theme – How does it know to switch?

This topic has 2 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Rose Tyler

  • Avatar: Niddy
    Niddy
    Participant
    February 19, 2022 at 02:13

    Just wondering, as I’m new to AMP; how does a mobile know to display it? So a few questions please, as it doesn’t really answer me on the dedicated page about Xstore AMP:

    1. Do I need to do anything or does it kick in automatically on detection of mobile?

    2. Can we control where it shows (like responsive breakpoints or devices) or does it only show on mobile devices?

    3. If I add site to home screen (on iPhone) then it’d technically bookmark the main site url. Would I need to use a different url for AMP?

    4. Can you use AMP & PWA together?

    Thanks for any help. I’ll go read up about it but wanted to check how it works with this theme. ?

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 19, 2022 at 10:41

    Hello,

    1. It is automatically on detection of mobile devices.
    2. No, you can’t control breakpoints because it based on detection of mobile devices independently of their screen size.
    3. You may add the site to your home screen and then when you go on site you will see AMP version. Also you may add your site to home screen with advanced param in url https://yoursite.com?amp to prevent extra checking in code if it is device ready for AMP.
    4. We didn’t test it for now but we pretty sure that you can use it. As you know it is extra plugin and anytime you will have any questions about it’s work you may just temporary disable it and write issues you have to us to fix but for that time use default version of web-site.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.