WebSite X5Help Center

 
Denis I.
Denis I.
User

Dynamically changing widget height  en

Autore: Denis I.
Visite 2550, Followers 1, Condiviso 0  
Parole Chiave: code,custom,height,html,page,widget

I would like to know if it's possible to change the page height depending on the content.  Here's what I mean:

I'm inserting my own code into the HTML widget.  I'm creating my own shopping cart and I don't want to set the HTML widget height.  I want the height of the widget to take up as much space as there are products available.  Is this possible?

I'm using version 9.

Postato il
2 RISPOSTE - 1 CORRETTO
Incomedia
Claudio D.
Incomedia

Hello Denis,

At the moment it is not possible to have this feature in WebSite X5. I would like to suggest that you open an "Idea" Post where you describe to us the feature you would like to see implemented in the future releases of WebSite X5.

Many thanks!

Leggi di più
Postato il da Claudio D.
Denis I.
Denis I.
User
Autore

Hello Claudio,

Thanks for your advice.  It's too bad X5 doesn't have this feature but this is what I did.  I opened the page in an HTML editor and found the code which I put in my HTML Widget.  In the div that wrapped my Custom HTML, I deleted the specified style height.  Now the body stretches to the height depending on how much content there is.

This is the hard way to do it.

Denis

Leggi di più
Postato il da Denis I.