function makeResponsive(elementId,textTheme,fontSize,fontColor,lineHeight,charSpacing,width) { let style = "font-size:"+fontSize+"vw;color:"+fontColor+";line-height:"+lineHeight+";letter-spacing:"+charSpacing+"vw;width:"+width+"vw"; $w(elementId).html = "<"+textTheme+" style="+style+">"+$w(elementId).text+""; }
top of page
bottom of page
function makeResponsive(elementId,textTheme,fontSize,fontColor,lineHeight,charSpacing,width) { let style = "font-size:"+fontSize+"vw;color:"+fontColor+";line-height:"+lineHeight+";letter-spacing:"+charSpacing+"vw;width:"+width+"vw"; $w(elementId).html = "<"+textTheme+" style="+style+">"+$w(elementId).text+""; }