Format menu styles - menu added on a new layer

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

ORX_anotherMenuH.jpg

 

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.

ORX_AddWidget.png

 

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 // http://www.bindtuning.com -->; add this code after then:

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

 

Click the Save button.

Have more questions? Submit a request

Comments

Got a question?

If you can't find the answer to your question, you can contact us.
We are here and happy to help.

Powered by Zendesk