Site logo

Archived topic

Need to make containers of the same height

3 replies · Started by Sascha on March 14, 2022

Viewing posts 1–4 of 4

Hi,

on https://orbilan.de/start-slider-test-3 we have GB-containers inside a slider and all containers should have the same height, but it's not the case.

Container in slide 1:
http://media.macbay.net/_support/Start_Slider_Test_3_–_Orbilan_27DF9BC6.png

Container in slide 2:
http://media.macbay.net/_support/Start_Slider_Test_3_–_Orbilan_27DF9BE8.png

etc.

Can you please help me fixing this?

ALl containers are defined via Global Styles …

I have licence for both GP & GB Pro and need my tickets on one place: here 😉

Please find credentials below, I guess you need to check from the dashboard …

Thank you in advance and kind regards,
Sascha

Hi there,

on your slide-white global style you have this CSS being generated:

.gb-container-slider-white {
    margin-top: 40px;
    margin-right: 10px;
    margin-bottom: 20px;
    min-height: 400px;
}

The margin-top and margin-bottom on a child of a flex container is going to mess with its height.
I would suggest removing them. And then define just a minimum height that fills all the slides needs

Oh, I cannot remember this being generated. I have checked the container blocks settings, the Customizer CSS, Simple CSS and Elements (Hooks), but cannot find this decleration.

Can you help me further please?

Credentials below …

Thank you in advance and kind regards,
Sascha

This archived topic is closed to new replies.