• Resolved Lisa Thompson

    (@lisaweb)


    Very happy with your plugin! However, I am trying to implement AMP pages on my site (not an easy task!) and unfortunately the PDF & Print images are showing up HUGE (1/2 the page wide) as AMP does not recognize whatever code is constraining them. Might you be able to add some basic html or css code that can call out their sizes? Or is there another way, that I can do this? Thanks for whatever help you can provide.

    (BTW – the WP “search this forum” function doesn’t seem to work for your plugin, seems the code doesn’t properly recognize the “&” in the plugin name. A search for “image” turns up no results and this is the code it processes:

    image intext:”Plugin: PDF & Print by BestWebSoft”

    But if I edit that and change the “&” to “&”, then the search works.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Lisa Thompson

    (@lisaweb)

    For images on AMP pages, this shows what is allowed and what’s not:
    https://www.ampproject.org/docs/guides/responsive/art_direction

    Thread Starter Lisa Thompson

    (@lisaweb)

    Another idea is to hide the PDF & print buttons on all AMP pages. Either solution would work for us. Thanks much for any help you can provide.

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Dear Lisa,

    Thank you for contacting us.

    It seems that you didn’t receive our previous message.

    a) fix the button sizes
    Try to do the following:
    1) Go to the plugin settings page;
    2) Open Custom code tab;
    3) Mark “Activate” checkbox in the “Editing bws-custom-code.css” section;
    4) Add the following code:

    .pdfprnt-bottom-left .i-amphtml-fill-content {
        width: auto; 
        min-width: auto; 
        height: auto; 
        min-height: auto; 
    }

    5) Save changes.

    b) disallow them from showing on AMP product pages
    This functionality is not available. However, you can request paid customization if you want, and provide all the details in the ticket you created via our Help Center.

    An ability to disable PDF & Print buttons for certain pages and/or post types is available in the Pro plugin version.

    Sincerely,
    BestWebSoft Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images HUGE on AMP pages’ is closed to new replies.