Adjust element to toggle grid column not working

Hello there :slight_smile:

I’m trying to drag an element and when I resize and move it (for example 1 block of text and 1 image) It doesnt stay where I whant it to stay. (50% text column + 50% image column)

Also I cannot set the right size of an element to the toggle grid columns. It is quite frustrating.

http://ec2-52-58-199-62.eu-central-1.compute.amazonaws.com/sobre-nosotros/

Please could you help me?

Thank you,

Marcel Odena

  • Predrag Dubajic
    • Support

    Hi Marcel,

    Thanks for granting access, I had a look at your site and noticed this CSS code added to global CSS of upfront theme:

    .upfront-grid-layout {
    width: 1280px !important;
    }

    Grid layout width is not something supposed to be changed in Upfront and changing it this way messes up the Upfront calculations when adding elements.

    When I removed this code the elements started behaving as they should, so if you really need to use this width I suggest removing it while making changes in UF editor.

    Best regards,

    Predrag

  • Marcel Odena
    • Site Builder, Child of Zeus

    Hello Predrag,

    Now the elements can be scaled fine, thanks for this advice of the css (I didn't know it). I followed your indications. I changed the width to 1280px from the Upfront editor (I attach a picture). However, the sections seem to not obey to this setting; I attach another 2 pictures where the width of the section is 1050px aprox., no the 1280px I configured.

    This is not a critical issue for us; if it is possible to extend the width great, otherwise it's fine with 1050px.

    Thanks in adavance,

    Marcel Odena

  • Predrag Dubajic
    • Support

    Hi Marcel,

    Upfront has fixed content width of 1080px and this can't be changed, what you're changing is the size of Contained region.

    When you add new region you can choose if the background will be contained or full width, and the contained size will depend on the value set for global background and this is the background between content and main background.

    Check this screenshot for more explanation:

    [attachments are only viewable by logged-in members]

    Best regards,

    Predrag

  • Marcel Odena
    • Site Builder, Child of Zeus

    Hi Predrag,

    I understand it now and we will design our websites taking this into account. However, it would be great that “content width” could be any size (more than 1080px), maybe you can consider this for a new upfront feature.

    Best regards,

    Marcel Odena