Support » Plugin: AMP » Show on desktop, hide on mobile and vice versa

  • On desktop I want to show some text that must be hidden on mobile. Instead on mobile I want to show a short list which then should be hidden on desktop.

    I have tried to accomplish this by adding <style amp-custom> in the <head>. But that css is not taken into the /amp/-pages.

    Can this be accomplished anyway?

    If not, is there support for this as a new requirement i.e. class mobile-hide?

    Cheers
    Rudolph Smits
    Netherlands
    http://www.magoster.nl

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Rudolph @rudolph-smits

    I’m trying my best to help you since nobody else is replying here.

    It is possible to do it a feature called ‘Custom AMP Content’ feature of AMPforWP plugin (https://wordpress.org/plugins/accelerated-mobile-pages/)

    You can try that. I hope it will help you.

    Regards,
    Ahmed Kaludi

    Ahmed

    Thank you for being so kind to help me on this.

    I will certainly take a look for this plugin but I had hoped that this would be possible with the plugin that I am using already. It has a large installed base and a requirement as I suggested should/could be wanted by many more.
    At least so I hoped.

    Regards
    Rudolph Smits

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