Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1494819

    HI .. need to make the right image flexible and full screen
    block full

    So, i added the css

    .home #av_section_4 .container {
        max-width: 100%;
        padding: 0;
    }

    ..and updated the section. But this does not take effect.
    Strech to fit is also set in the block settings.

    What is missing?

    #1494831

    Hey Sebastian,
    Your container max-width is 1200px and contains margin & padding:
    fpFXpb2.jpg
    Try this css and adjust to suit:

    .responsive .page-id-3603 #av_section_4 .container {
        max-width: 100%;
        padding: 0;
    }

    fpF8ARn.png

    Best regards,
    Mike

    #1494838

    have a look to my test-page: https://webers-testseite.de/marcus/
    Use the grid-row element instead.

    what is important for you – is to know your content width set in your enfold options – and the calculation

    .content-alignment .flex_cell.avia-builder-el-first {
        padding-left: calc(50% - 755px) !important;
      }
    /** or **/
      .content-alignment-right .flex_cell.avia-builder-el-last {
      padding-right: calc(50% - 755px) !important;
      }

    my setting on the test page is 1510px width for content width. – so half is 755px – that determines the padding-left or padding-right value.

    #1494840

    cool .. many many thanks.

    Is there an option to bring the left block inside the frame? Not to be flexible as the right one?
    The code from Gunny isnt working on the page

    • This reply was modified 1 week, 4 days ago by xeovision.
    • This reply was modified 1 week, 4 days ago by xeovision.
    #1494848

    i’m using the grid-row elment on that – this is a full-width element so you do not need to think about the image – the solution is to hamper the text to be as wide as the 1/2 grid-cell.

    #1494859

    Is this not the same like here?
    But the left block is also moving flexible

    grid

    #1494911

    You can also achieve this with your layout, but it is easier to do it the other way around.
    Here you can see your layout with color section (custom class: stretchy). In the column with only the background image, I have placed a whitespace separator for the forced height.

    https://webers-testseite.de/xeo5/

    #1494915

    Thank you Guenni,
    the first code works prefect.

    We can close here.

    #1494916

    Remember to adjust this value of 755px—this is because my installation has a maximum width of 1510px for content there.

    #1494917

    Yes, i did :)

    #1494918

    Hi,
    Thanks for your help Guenni007, If you have further questions please open a new thread and we will try to help. Thanks for using Enfold.

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘2 blocks with flexible bg image’ is closed to new replies.