Setting height in SP Page Builder without custom CSS - Forum | JoomShaper
Solved SP Page Builder

Setting height in SP Page Builder without custom CSS

Asked by GREEN TAL S.A. 1 year ago Last activity 1 year ago

Hello,

I’m using SP Page Builder and have applied a fixed height to a specific column for larger devices, which works well in that view. However, for smaller devices, I need the height to adjust automatically (i.e., height: auto), but I noticed that the builder doesn’t accept this value directly.

Is there any way to achieve height: auto on smaller devices without using custom CSS? I’d appreciate any suggestions on how to make this adjustment within SP Page Builder’s standard settings.

Thank you for your help.

Accepted answer

Marked as the solution
Pavel

I need the height to adjust automatically (i.e., height: auto)

Hi. Without custom CSS, this is not possible. In SPPB interface you can use only fixed values in the settings of each breakpoint.

2 more replies

Asfakur Rahman Saikat Staff

Hi there,

Thank you for reaching out!

It looks like you've set a custom height in your column for larger devices. When no height is specified for smaller devices, the height from the larger device (e.g., 500px) will apply automatically to the smaller screens as well.

To adjust this, I recommend setting custom heights for each device size to ensure the layout adapts correctly across all screens. Here’s an example for reference: https://prnt.sc/IJoiAH9PTXCZ

Let me know if you have any further questions!

Best regards

GREEN TAL S.A. Asked this

Thanks!!!!

Log in to reply.