HTML CMS Code using Layout Grids
Posted: Thu Feb 25, 2021 11:43 pm
Hi,
I have an external CMS editor that i prefer to use. To use it generates a javascript code to enter so that is displays the editing from the cms. (See code pasted below). When i insert an html box in my site it works perfectly. But i use layout grids and when i drag the html box into a layout grid it disappear when previewing the page.
What i am needing to do, is paste the code and have it appear in order on my page and at the same width (1024) as the rest of my page.
I have tried the following.
1. I place a html box on my page and paste the code into the box - it works perfectly.
2. If i place the html box in a layout box - it doesn't work at all, there is not text from the CMS displays on my page.
3. I i right click on the layout grid and attach the html and place it "inside the tags" the text from the cms then display s on my page, but it appears on the left hand edge of the browser window instead of being aligned with the rest of my page. if i set the layout grid to maximum width 1024, it makes no difference.
After I upload the site and check the page source it is like this: (The code is not between the grid 16 tags...
<div id="wb_indexLayoutGrid16">
<div id="indexLayoutGrid16">
<div class="row">
<div class="col-1">
<div id="indexHtml1" style="display:inline-block;width:982px;height:229px;z-index:18">
<link href="https://www.fardonwebhosting.com/cms/in ... ionLoadCss" rel="stylesheet"/>
<script src="https://www.fardonwebhosting.com/cms/in ... "></script>
</div>
</div>
If i manually change this to look like:
<div id="wb_indexLayoutGrid16">
<div class="row">
<div class="col-1">
<div id="indexHtml1" style="display:inline-block;width:982px;height:229px;z-index:18">
<link href="https://www.fardonwebhosting.com/cms/in ... ionLoadCss" rel="stylesheet"/>
<script src="https://www.fardonwebhosting.com/cms/in ... "></script>
</div>
</div>
<div id="indexLayoutGrid16">
Then everything works fine, but is a pain to keep having to manually do the edit every time i upload something.
Anyone have any ideas how i could fix this?
Thanks in advance
I have an external CMS editor that i prefer to use. To use it generates a javascript code to enter so that is displays the editing from the cms. (See code pasted below). When i insert an html box in my site it works perfectly. But i use layout grids and when i drag the html box into a layout grid it disappear when previewing the page.
What i am needing to do, is paste the code and have it appear in order on my page and at the same width (1024) as the rest of my page.
I have tried the following.
1. I place a html box on my page and paste the code into the box - it works perfectly.
2. If i place the html box in a layout box - it doesn't work at all, there is not text from the CMS displays on my page.
3. I i right click on the layout grid and attach the html and place it "inside the tags" the text from the cms then display s on my page, but it appears on the left hand edge of the browser window instead of being aligned with the rest of my page. if i set the layout grid to maximum width 1024, it makes no difference.
After I upload the site and check the page source it is like this: (The code is not between the grid 16 tags...
<div id="wb_indexLayoutGrid16">
<div id="indexLayoutGrid16">
<div class="row">
<div class="col-1">
<div id="indexHtml1" style="display:inline-block;width:982px;height:229px;z-index:18">
<link href="https://www.fardonwebhosting.com/cms/in ... ionLoadCss" rel="stylesheet"/>
<script src="https://www.fardonwebhosting.com/cms/in ... "></script>
</div>
</div>
If i manually change this to look like:
<div id="wb_indexLayoutGrid16">
<div class="row">
<div class="col-1">
<div id="indexHtml1" style="display:inline-block;width:982px;height:229px;z-index:18">
<link href="https://www.fardonwebhosting.com/cms/in ... ionLoadCss" rel="stylesheet"/>
<script src="https://www.fardonwebhosting.com/cms/in ... "></script>
</div>
</div>
<div id="indexLayoutGrid16">
Then everything works fine, but is a pain to keep having to manually do the edit every time i upload something.
Anyone have any ideas how i could fix this?
Thanks in advance