AMP Menu Background Color changed when opens during reading a post.

Posted in: Newspaper
Post count: 48

When i open menu with amp version in mobile it background color looks just like I’ve set it Screenshot1. But when i open it during reading a post or article its color become changed Screenshot2. How to set it?

Post count: 27744

Hello,

I verified and seems you use a plugin to optimize the CSS => https://i.imgur.com/rDlCmVE.png and I think it affected CSS for the mobile menu.
Please try to remove the optimization and check after this, normally the background color should work the same for pages and posts.

Thank you!

Post count: 48

Thank u for answering. I was using autoptimize plugin. I deactivated it, but it still working like same.

Post count: 21065

Hello!

The CSS code you need to add in Newspaper -> Theme panel -> Mobile Theme -> Custom code:


#td_amp_menu .td-menu-background, #td_amp_search .td-search-background {
background-color: transparent!important;
}

Hope that helps you!

Thank you!

Post count: 48

Thanks its working 🙂 can i use autoptimize plugin now?

Post count: 21065

Hello!

I’m glad that I could help you.
You can use it, but please take care for a future plugin conflict or cache issue.

Thank you!

Post count: 48

Ok 🙂 Thank you so much.

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