Newspaper 10 amp layout fixes

Posted in: Newspaper
Post count: 13

Hi I need to hide/remove elements in the amp post layout (see changes on screenshot) and can’t see the available options in the theme panel. We are running newest Newspaper 10.3.6.1 with mobile plugin AMP only enabled.

https://share.getcloudapp.com/v1u2g574

How would I go about hiding/removing the comments, comment counter, related posts, (everything from the screenshot above)?

Thanks!

Post count: 18283

Hello !

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

Thank you !

Post count: 13

https://pastebin.com/KcU4LWKc
(Expires in 1 week)

I didn’t think it had anything to do specifically with our site…was wondering how the amp layout elements are controlled because it doesn’t seem to be respecting the post template settings in the theme panel (for example, comment counter is off in the theme panel > post settings but appearing on the amp

We’re running newest newspaper 10 with cloud templates and mobile plugin set to AMP only

Post count: 18283

Hello !

Please use this css code: amp-mode-touch,.td-crumb-container{
display:none;
}

amp-mode-touch,.comments{
display:none;
}

amp-mode-touch,.author-box-wrap{
display:none;
}

amp-mode-touch,.td-post-next-prev-content{
display:none;
}

amp-mode-touch,.td-post-source-tags{
display:none;
}

amp-mode-touch,.td-category{
display:none;
}

amp-mode-touch,.td-post-comments{
display:none;
}

The codes must be inserted here: https://www.screencast.com/t/fyP7TBVPWvhQ

Thank you !

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