align blocks in height and width Image Layout - Forum | JoomShaper
Staff replied SP Page Builder

align blocks in height and width Image Layout

Asked by Web designer 4 years ago Last activity 4 years ago

Good afternoon! Can you please tell me how to correctly align the blocks in height and width of the Image Layout? .row rule
{
display: flex
width: 400px
height: 900px;
}
!important
Does not work!

34 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me your site URL and also screenshot of your issue?

-Regards.

Web designer Asked this

Good afternoon! I want all blocks to display the same height regardless of text size. I wrote the code for this, but it doesn't work.
.row
{
display: flex width: 400px height: 900px;
}
!important
What to do?
Attached is a screenshot of the blocks on the site.

Web designer Asked this

Can you help me?

Web designer Asked this

I have completely dispersed blocks. I have completely dispersed blocks. Look please!

Mehtaz Afsana Borsha Staff

Hi,

Use this custom CSS

.sppb-addon-image-layout-content{
    height:900px !important;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Web designer Asked this

Excellent. Only I reduced the height to 600 and everything began to display correctly
But the blocks where there is little text suffered and they became huge in height. Look please.
Screenshot is attached.

Web designer Asked this

please tell me there is a solution to this problem?

Mehtaz Afsana Borsha Staff

Just reduce the hegiht then everything will be alright. Delete my previous code and use this one.

.sppb-addon-image-layout-content{
    height:500px !important;
}
Web designer Asked this

I already did this, the text does not fit into blocks then. And those without text get very large as before.

Log in to reply.