Format menu styles - menu added on a new layer

If you display a menu inside a layer and there is no styles:



Edit your Menu Widget and for the field Name (The technical name of the Widget, used for css class and alternates), add menu-on-new-layer. Now just click the Save button.



After that, you just need to add some script to to your Layout.cshtml.

Go to Themes choose View Editor tab and select Layout.cshtml view.

Scroll down the content to the end of the page. Will see a <!-- powered by BIND TUNING 2014 // -->; add this code after then:

<script type="text/javascript">
(function ($) {
    $(document).ready(function () {
        $('.widget-menu-on-new-layer').children('div').attr('id', 'MenuH');


Click the Save button.

Have more questions? Submit a request


BindTuning logo
Copyright Ⓒ 2021 Bind.
All rights reserved.
Privacy Policy
Cookie Policy
              Linkedin BindTuning Twitter BindTuning YouTube BindTuning Instagram BindTuning
Powered by Zendesk