• Resolved ata222

    (@ata222)


    Hi I have a popup for one of my pages but it is so big when it opens and it is in a square border, the image for popup is a PNG and I don’t want any border I want only the image to be displayed. In the Custome CSS section I wrote the following code but it doesn’t function for any part of the coding. I am not coder savvy. I appreciate if you point me out in the right direction

    /* Ensure the image within the popup takes the full space of the popup */
    .sg-popup-id-11007 img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    padding: 0;
    margin: 0;
    }

    /* Popup content wrapper */
    .sg-popup-id-11007 .sgpb-content {
    padding: 0;
    border: none;
    overflow: hidden;
    background: transparent;
    display: inline-block;
    max-width: 100%;
    }

    /* Overlay / .sg-popup-id-11007 .sgpb-popup-overlay { background: rgba(0, 0, 0, 0.7); / Adjust the opacity as needed */
    }

    /* Popup wrapper / .sg-popup-id-11007 .sgpb-popup-builder-content { border: none; background: transparent; padding: 0; display: inline-block; max-width: 90%; / Adjust this value as needed / max-height: 90%; / Adjust this value as needed */
    width: auto;
    height: auto;
    }
Viewing 1 replies (of 1 total)
  • Plugin Support Jawad Ahmed

    (@jawada)

    Hello @ata222 ,

    Thank you for reaching out. Are you using an Image popup? If so, you can easily adjust the width and height by going to Popup > Edit, then scrolling down to the Dimension section and setting the desired dimensions for your popup.

    I hope this helps! If you have any further questions or need additional assistance, please let me know. You can visit our support page, where you will find options to chat with us or send an email. Our team is available and happy to assist you with any concerns you may have.

    Warm regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Custome CSS for Popup appearance’ is closed to new replies.