Support » Plugin: AMP for WP - Accelerated Mobile Pages » Featured Image Alignment

  • Resolved narinder912

    (@narinder912)


    Hi

    I am trying to make the featured image on AMP posts the same as my regular theme. In AMP posts, the featured image is stretching to both left and right edges of the screen. Whereas in my regular mobile theme, the width of the featured image is aligned with the post content. Can you please tell me how to stop the featured image width in AMP posts from stretching to the edges of the screen?

    Best Regards
    Narinder

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hello @narinder912

    Can you please share the URL of your website so I can check and solve it for you.

    Please let me know.

    Thread Starter narinder912

    (@narinder912)

    Thanx @ampforwp

    This is the URL of a post in my blog: https://www.desiyatri.com/thailand-visa/visa-on-arrival/

    In AMP version, the featured image is stretched to both sides of the screen. In non-AMP version, the featured image in mobile is aligned with the width of the content.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello Narinder912,

    You are welcome.

    Let me keep you informed that the Swift Theme displays the Featured Image as it does now.

    With regards to your query, I would like to inform you that you can use the other Layout in Design –> SwiftTheme –> Single and select the other Layout or else I’ve got the other option for you i.e., you can use AMP Layouts to display the Content in different Layout.

    Thread Starter narinder912

    (@narinder912)

    Thanks again @ampforwp

    I chose the second layout in Design –> SwiftTheme –> Single and now the featured image is aligned with the post content. But there is one other small problem now. I am selecting to display the author name but it is not displaying when using this layout of Single. Looks like a bug. Author Bio displays correctly when selected.

    I am marking this support query as resolved.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello Narinder912,

    Your welcome.

    With regards to your query at my end, it’s displaying properly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured Image Alignment’ is closed to new replies.