• Resolved natinhow

    (@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 https://ibb.co/t2y1SwL
    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)
  • 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: https://youtu.be/5XdQ9K6O518

    Plugin Author Weston Ruter

    (@westonruter)

    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).

    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)
  • The topic ‘How to add a value under .i-amphtml-layout-intrinsic .i-amphtml-sizer’ is closed to new replies.