How to hide the site text and just show a logo on AMP pages in WordPress?

Posted by Prem Tiwari | Updated on

Want to hide the site text and just show a logo on AMP pages in WordPress? If you want to hide the site text and just show a logo, use the amp_post_template_css action.

The following colors the title bar black, hides the site title, and replaces it with a centered logo:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers