Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1278176

    Hi,

    I’m trying to set two different vertical aligns on a grid section. In the center the first image and in the bottom the last fours columns. Any ideas how I can set it this way?

    Thank you!

    #1278407

    Hey Oscar,

    I’m not sure I understand what you are looking to achieve. Could you try to explain a bit further, or post a screenshot highlighting your intentions please?

    Best regards,
    Rikard

    #1278415

    Hi Rikard,

    Thank you for your response. Sure thing, on green the content should be in the middle. In blue, the content that should be in the bottom (vertical align).

    Regards

    #1278564

    Hi,

    Thanks for the clarification. If you assign a class to the bottom 1/4 element, for example bottom-column, then you add CSS like this in Quick CSS:

    .bottom-column {
      margin-top: 100px;
    }

    Best regards,
    Rikard

    #1278585

    Hi Rikard,

    Thank you for your response, but I want to avoid using a margin so the elements can adjust more adequately to different screen sizes. Right now the “grid row” is using a “center vertical align”, how can we set a “bottom vertical align” to those 4 columns? Which already have a class assigned if needed.

    Regards

    #1278948

    Hi,

    Try this in Quick CSS:

    #imagen-inicio .flex_cell.av_one_full {
        vertical-align: bottom;
    }

    Best regards,
    Rikard

    #1278959

    Hi Rikard,

    Thank you for your follow-up, the code works, but the image circled on green also aligns to the bottom (it should stay at the middle).

    Any ideas?

    #1279293

    Hi,

    Try this instead:

    #imagen-inicio .flex_cell.av_one_full {
        vertical-align: bottom;
    }
    
    #imagen-inicio .column-top-margin {
        margin-top: 100px;
    }

    Best regards,
    Rikard

    #1279297

    Hi again Rikard,

    That last code was similar to the first one. I ended up using percentages, and it seems it did that trick. I’ll make some adjustments on mobile, but kind of works now.

    Would be great to be able to have different vertical alignments on grid rows.

    Thank you!

    #1279715

    Hi,

    Thanks for the update, and feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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