AMP cssclasses and custom style

Posted in: Newspaper
Post count: 115

Hi,

please how to make custom css class and where to make css document only for AMP theme.

thx

Post count: 35449

Hi SvijetS,

You can use mobile theme plugin with amp plugin, in this way you can use custom css and you can set it in Theme panel> mobile theme> Custom code> custom css and if you’ll set the amp classes of element, then it will be apply only on amp.
Example of code that will apply only on amp -> https://i.imgur.com/8tbi8PZ.png

Thank you!

Post count: 115

Thank you,

now I need to make grid two columns in a row, I’m not sure what boostrap framework u are using or?

thx

Post count: 35449

Hi SvijetS,

Unfortunately I do not quiet understand what you want to achieve.
Also note that for amp we have only few settings.
-> https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/

Thank you!

Post count: 115

I need two rows (side by side) banners, I’m not sure what framework engine use and how it works with bootstrap in AMP.

thx

  • This reply was modified 6 years by SvijetS.
  • This reply was modified 6 years by SvijetS.
Post count: 35449

Hi,

Unfortunately there is no option in our theme to do this, I think that the only way to add two two rows (side by side) can be done only with custom work.
As a suggestion I think that you can use some html tags to display on mobile theme/amp two banners side by side -> https://i.imgur.com/fO1rKQu.png -> https://i.imgur.com/v4UCI5W.png you can get the code from here -> https://pastebin.com/9MTjSC70

Thank you!

Post count: 115

This is great

thank you

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