• Resolved marketingsog

    (@marketingsog)


    Hi, we embed this page in our ERP software. I have an issue in displaying the images. Without autoptimize the images are centered and big. But with autoptimize the images are small and left aligned as you can see on the screenshots. We only do have a small viewpoint in our system. Can you tell me, how I can display the images big with autotpimize? Thanks

    image with autoptimize: https://ibb.co/GdHkHSt

    Image without: https://ibb.co/zszvZH4

    • This topic was modified 1 month, 3 weeks ago by marketingsog.
    • This topic was modified 1 month, 3 weeks ago by marketingsog.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    hi @marketingsog ;

    I tested the site with Autoptimize disabled (by adding ?ao_noptirocket=1 to the URL) in a small viewport and the images remain small for me:

    View post on imgur.com

    The width of the image is set in a Divi stylesheet (wp-content/et-cache/1376270/et-core-unified-1376270.min.css), so best approach would be to add below CSS in Appearance -> Customize -> Extra CSS (you might have to add an !important flag after the unset, not sure about that one)

    @media only screen and (max-width: 980px) {.et_pb_post a img {width: unset;max-width: 100%;}}

    hope this helps,
    frank

    Thread Starter marketingsog

    (@marketingsog)

    thanks it was a css width in extra code. I added !important and now it has the correct size

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    have a nice evening,
    frank

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