Removing footer logo, about us, follow us from Mobile Theme

Posted in: Newspaper
Post count: 13

Hi,

I’m rebuilding my pages for AMP with the new mobile theme.

I’d like to remove the footer logo, as well as the ‘about us’ and ‘follow us’ text.
Please advise.

Thanks,
Matt

Post count: 13

Follow up, how do I deal with the following validation issues:

Validation issues
The mandatory tag ‘head > style[amp-boilerplate]’ is missing or incorrect.
1 instance
The tag ‘BODY’ appears more than once in the document.
1 instance
The parent tag of tag ‘style amp-custom’ is ‘body’, but it can only be ‘head’.
1 instance
The tag ‘noscript > style[amp-boilerplate]’ may only appear as a descendant of tag ‘head’.
1 instance
Tag or text which is only allowed inside the body section found outside of the body section.
1 instance

Thanks

Post count: 35449

Hi,

You can remove those elements using a custom css ->https://www.screencast.com/t/O3XM2rH7PC
.td-mobile-footer-wrap .td-footer-wrap .td-footer-logo,
.td-mobile-footer-wrap .td-footer-wrap .td-footer-description,
.td-mobile-footer-wrap .td-footer-wrap .td-footer-social .block-title
{
display: none;
}

Set the code in Newspaper>theme panel>Mobile theme>Custom code> Css -> https://www.screencast.com/t/xOPDlwCO4X

In the most cases the above issue that you have when you try to validate an amp post/page is caused by a plugin, please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.