html object in layout grid

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
Weldon
 
 
Posts: 15
Joined: Thu Sep 03, 2020 3:15 am

html object in layout grid

Post by Weldon »

If I put a HTML object in a layout grid with hard coded html ex..<h1>Heading</h1> it works fine. But if I add a div ex... <div id="div_id"></div> and add formatted html from variable using $('#div_id')append(var with formatted html) it won't display while in layout grid. If i take the HTML object out of layout grid is works fine. Is it possible to use the html object this way?
User avatar
crispy68
 
 
Posts: 3093
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: html object in layout grid

Post by crispy68 »

Would you have a small example project file you could share showing your set up for this?
Weldon
 
 
Posts: 15
Joined: Thu Sep 03, 2020 3:15 am

Re: html object in layout grid

Post by Weldon »

this is the page I am working on
https://zoocrewclub.com/za_register1.php?c=zc1311exam

popup just shows the html in the variable I am using
Weldon
 
 
Posts: 15
Joined: Thu Sep 03, 2020 3:15 am

Re: html object in layout grid

Post by Weldon »

Besides this what is best way to display html from variable on a webpage? Is there a control for this like a text area but for formatted html?
Weldon
 
 
Posts: 15
Joined: Thu Sep 03, 2020 3:15 am

Re: html object in layout grid

Post by Weldon »

NVM got it to work with inline frame
User avatar
Pablo
 
Posts: 23656
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html object in layout grid

Post by Pablo »

Please note that if you place HTML code inside a Layout Grid, then the default font size will be 0, because the grid resets the font to make sure spaces do not affect the layout.
So, you will have to specify a font size for your custom code.
Post Reply