Question Regarding Adding Class to Grids

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
wwonderfull
 
 
Posts: 1621
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Question Regarding Adding Class to Grids

Post by wwonderfull »

Code: Select all

<div id="wb_LayoutGrid4">
<div id="LayoutGrid4">
<div class="row">
<div class="col-1">
<div class="col-1-padding">
<div id="wb_Image7" style="display:inline-block;width:100%;height:auto;z-index:34;">
<img src="images/300x200.png" id="Image7" alt="" title="600x400">
</div>
that is an example Layoutgrid structure in wwb. Now when you name an id in wwb it is LayoutGrid4 but when previewed, it gets a slight extension wb_LayoutGrid4. But my question is if I wanted to add a class to <div id="LayoutGrid4" class="XYZ"> that doesn not happen. Instead it becomes <div id="wb_LayoutGrid4" class="XYZ"> My question is why does it happen and is there any work around or solution for this.
User avatar
Pablo
 
Posts: 23916
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Question Regarding Adding Class to Grids

Post by Pablo »

I'm sorry, there is no option add the class to the inner div. if you need this then you will have to do this via JavaScript.
User avatar
wwonderfull
 
 
Posts: 1621
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Question Regarding Adding Class to Grids

Post by wwonderfull »

Thanks for the info @pablo.
Post Reply