Rank: Advanced Member
Groups: Authorized User, Developers Joined: 5/30/2020(UTC) Posts: 125
Thanks: 14 times Was thanked: 3 time(s) in 3 post(s)
|
I am attempting to use the Widget layout source editor to switch from fixed width to fluid. When I was updating the Store Compact Header, I noticed every time I save it keeps changing my container-fluid class to container-flui-maskd. It also appended ui-sortable-handle-mask to the <div> around each @RenderZone. With each save it keeps appending and additional -mask to those classes. So after the 3rd save, the class surrounding @RenderZone is ui-sortable-handle-mask-mask-mask. So this is what it looks like now: Code:<div class="top-header hidden-xs">
<div class="container-flui-maskd">
<div class="row">
<div class="column col-md-7 col-xs-7 col-sm-7">
<!--WIDGET-ZONE--><div class="ui-sortable-handle-mask-mask-mask ui-sortable-handle-mask-mask">@{RenderZone("Header Top Left");}</div><!--/WIDGET-ZONE-->
</div>
<div class="column col-md-5 text-right col-xs-5 col-sm-5">
<!--WIDGET-ZONE--><div class="ui-sortable-handle-mask-mask-mask ui-sortable-handle-mask-mask">@{RenderZone("Header Top Right");}</div><!--/WIDGET-ZONE-->
</div>
</div>
</div>
</div>
<div class="row no-side-margin">
<div class="column no-side-padding col-md-12 col-sm-12 col-xs-12"><!--gm-editable-region-->
<header id="store-header-compact" class="navbar navbar-default navbar-static-top" data-store-editing-enabled="@IsEditModeEnabled">
<div class="container-flui-maskd">
<!--WIDGET-ZONE--><div class="ui-sortable-handle-mask-mask-mask ui-sortable-handle-mask-mask">@{RenderZone("Store Menu");}</div><!--/WIDGET-ZONE-->
</div>
</header>
<!--/gm-editable-region--></div>
</div>
<div class="row no-side-margin">
<div class="column no-side-padding col-md-12 col-sm-12 col-xs-12">
<!--WIDGET-ZONE--><div class="ui-sortable-handle-mask-mask-mask ui-sortable-handle-mask-mask">@{RenderZone("Header Basket");}</div><!--/WIDGET-ZONE-->
</div>
</div>
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Our designer had noted that also. I think she has to edit the files after she saves them.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 5/30/2020(UTC) Posts: 125
Thanks: 14 times Was thanked: 3 time(s) in 3 post(s)
|
So, the work-around is to edit the raw .cshtml view files instead of using the built-in layout editor?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close