Support » Plugin: AMP for WordPress » 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?

    Rudolph Smits

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 (

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

    Ahmed Kaludi


    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.

    Rudolph Smits

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show on desktop, hide on mobile and vice versa’ is closed to new replies.