Support » Plugin: AMP » How to add a value under .i-amphtml-layout-intrinsic .i-amphtml-sizer

  • Resolved natinhow


    Dear all, could you please help out
    I wish to add a value under:
    .i-amphtml-layout-intrinsic .i-amphtml-sizer

    current, its max-width: 100%; as shown in
    I wish to add a value: max-height:110px to control the height of some imgages in table, any one could help me to find where is the path to this modify this, I appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Fellyph Cintra


    Hi @natinhow,

    Thanks for contacting us, to add custom CSS, it will depends which mode you are using. Here on this guide you will find more information about how to add custom CSS.

    And this video has some tips as well:

    Plugin Author Weston Ruter


    Note that AMP doesn’t allow CSS selectors that target any class that begins with i-amphtml- so probably something else is needed. You should be able to just add max-height style to the amp-img container (which you can target with a img selector since it will get automatically converted to amp-img: note that version 2.3 of the plugin intends to default to native img instead of amp-img).

    Plugin Support Fellyph Cintra


    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

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