In Editor turn on Dev Mode. Insert a text filed to the strip you want to be height responsive. Make sure that the top of the text box touches the top of the strip.
Copy the code given above to the code section at the bottom of the page. The final code after you copy will look like similar to this.
$w.onReady( function () {
//TODO: write your page related code here…
var style1 = “vh;height:” + 100 + “vh” ;
$w( “#text25” ).html = “<” + “h1” + " style=" + style1 + “>” + $w( “#text25” ).text + “</” + “h1” + “>” ;
});
Make sure to change ‘text25’ to the actual name of your text box (you can see the text box name when you click it in the editor). It might be some other number like ‘text20’ or ‘text29’ or something like that. Maker sure to change name in both the places in teh code.