Home>Support>Image not bound to container

Image not bound to container

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I’m having trouble getting an image to fit and not extend it’s container, but it’s not working.
These are the setting in the SO image widget:
– Image size: full
– Bound: selected
– Full width: selected

Kind regards,

Eva

URL: http://www.nubyshairstyling.nl/black-hair/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 11 days ago [email protected]

    Any ideas yet…

  2. 10 years, 7 days ago Magus
    Hi, I Work Here

    Hi [email protected]

    Very sorry about the late reply. We work through a prioritized forum queue, and unfortunately it’s taken us some time to get to your thread.

    https://siteorigin.com/about/forum-thread-prioritization/

    I have had a look at the page in question but cannot see any image widgets in use, only Visual editors. Could you please confirm that this is the page and let us know which image is causing the problem

    Thanks

    Magus

  3. 10 years, 3 days ago [email protected]

    Hi Magus,

    Because it took a while for you to respond I had to solve it in another way.
    I recreated the situation in a new page: http://www.nubyshairstyling.nl/test/
    On this page I have added a row with two columns but as you can see the image is nog bound to the width of the column.
    Image size is Full
    Bound and Full width are selected

    Kind regards,

    Eva

  4. 10 years, 3 days ago Magus
    Hi, I Work Here

    Hi Eva

    I’m not too sure what is going on. Something in the theme is overriding the generated inline CSS for the image element. The Generated CSS is

    {
        max-width: 100%;
        height: auto;
        width: 100%;
        display: block;
    }
    

    but the only element being processed is the display element, the other three are being overridden by some other entry that I cannot track down. You can override it again by adding the following to a custom CSS editor

    .so-widget-image {
        max-width: 100% !important;
        height: auto;
        width: 100%;
    }
    

    Let us know how you get on

    Magus

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More