css - Unable to change Menu title in jQuery (MeanMenu) -
i'm using meanmenu jquery responsive menu plugin navigation on web page. seems work well, can't figure out how change title of menu when it's closed. want add word "menu" 3 bars or replace 3 bars word. line .js file:
meanmenuopen: "<span /><span /><span />", // text/markup want when menu closed, styling in css provides 3 bars these spans
i filled line this:
meanmenuopen: "<span />menu<span /><span />", // text/markup want when menu closed, styling in css provides 3 bars these spans
the css part looks this:
.mean-container a.meanmenu-reveal span { display: block; background: #fff; height: 3px; margin-top: 3px; }
but solution isn't showing. how can fix that? thank help!
got it. king's answer.
jquery.meanmenu.js
meanmenuopen: "<span /><span /><span /><div class='menu_title'>menu</div>", // text/markup want when menu closed
css
.menu_title { display: block; position:relative; float:right; bottom:1em; margin-right:2em; color:#ffffff; font-size: 16px; line-height: 22px; display: block; font-family: arial, helvetica, sans-serif; font-weight: 700; }
Comments
Post a Comment