Sidebar Disappearing in AMP Mobile

Posted in: Newspaper
Post count: 21

Hi,

When looking at my site in AMP mobile, the sidebar that shows on desktop disappears.

How do I have the sidebar appear in AMP?

HTML structure: Column, Inner Row, Inner Column.

Thank you

Post count: 21

To clarify my question, I’d like the sidebar to stack under the content. It contains a form and I can’t get the form to show up on my amp site.

Post count: 18283

Hello !

Please provide a link to your website in order to inspect and see what can be done.

Thank you !

Post count: 21

http://homeunderstress.com/

It’s still under development, but this is it so far. The form in the sidebar should ideally collapse under the content of a single post, but it disappears entirely.

I’ve also tried manually adding the form directly under the content with a new row, but it still gets stripped in AMP.

Post count: 18283

Hello !

The Mobile theme was specially designed for optimization on mobile devices. Unfortunately on mobile theme you cannot do much changes of design. If you want to have the same design as on desktop mode you can achieve that by simply disabling the mobile theme.

You will have to recreate your pages into the Mobile editor or completely disable the mobile theme. The mobile editor will not render shortcodes !

Also you can disable mobile theme on certain pages or posts by following this setting:

Please take a look here: https://forum.tagdiv.com/the-mobile-theme/

Mobile theme plugin can be disabled from Newspaper Plugins as you can see here: https://www.screencast.com/t/LnkZCEVC

You are now able to create mobile viewport templates as you can see in our guide here: https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/

! Atention ! If you are using mobile templates you will have to remove the mobile theme plugin and also at the moment AMP is not working with mobile templates.

Please note that at the moment the Support team is not 24/7 available. We answer the topics from Latest to Newest Monday – Friday from 08:00AM to 05:00PM GMT+2

Thank you !

Post count: 21

Hey Vlad,

Thanks for your thorough response.

I’m confused now because your teammate recommended the opposite of what you just recommended in my other thread: https://forum.tagdiv.com/topic/adding-a-form-to-amp-version/#post-376132

He said to insert a shortcode from wpforms and that it would work with the mobile theme and AMP — you’re saying it will not work. This is confusing coming from the same team.

All I need to do is add a simple form with an email field that’s connected to my Mailchimp account to the AMP version of my site. Is this possible or not?

Thank you!

Post count: 18283

Hello !

I am sorry for misunderstanding !

Yes, you can use a shortcode to add a form in the mobile editor.

Thank you !

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.