Page 1 of 1
Question Regarding Adding Class to Grids
Posted: Thu Jun 15, 2023 12:17 pm
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.
Re: Question Regarding Adding Class to Grids
Posted: Thu Jun 15, 2023 12:48 pm
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.
Re: Question Regarding Adding Class to Grids
Posted: Thu Jun 15, 2023 1:57 pm
by wwonderfull
Thanks for the info @pablo.