Responsive tables in new AMP plugin – Custom CSS stylesheet

Posted in: Newspaper
Post count: 29

Hello Guys!

With the old Tag Div AMP plugin we had located the location to put custom CSS in the style sheet with your help as we wanted to make our tables responsive in AMP.

https://forum.tagdiv.com/topic/where-can-i-locate-the-amp-css-style-sheet/

Now that the theme is using a new plugin (Official AMP for WordPress) the changes have been lost.

Could you please let us know how we can put custom CSS?

Regards
Ashutosh

Post count: 35449

Hi,

In order to add some css for tables to AMP you need to edit the style.php file from amp plugin, so you need to go in wp-content/plugins/amp/templates/style.php
If you want to ad the css for mobile amp you can set the code directly in Theme Panel>Mobile theme Custom code>CSS
-> https://www.screencast.com/t/IJmq2e0mK

Thank you for your understanding.

Post count: 29

Found it and added the custom CSS

Thanks a lot 🙂

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