Custom Menu Display

Custom Menu Display

by Nathan Bruley -
Number of replies: 7

Is there a way to adjust the resolution at which the theme settings > custom menu disappears into the upper right dropdown? I only have two menu items and it would be nice to have them always visible without an extra click.

Even if someone could point me to the code that does the change that would be helpful.

Thanks!

Average of ratings: -
In reply to Nathan Bruley

Re: Custom Menu Display

by Mary Evans -

Hi,

Can I ask how you have added the menu items? 

Thanks

Mary

In reply to Mary Evans

Re: Custom Menu Display

by Nathan Bruley -

Sure,

Site Admin > Appearance > Themes > Theme settings > Custom menu items

We're using Moodle 2.6.3.

I notice that the menu items disappear when the screen width gets smaller.

In reply to Nathan Bruley

Re: Custom Menu Display

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
In reply to Gareth J Barnard

Re: Custom Menu Display

by Nathan Bruley -
Thanks! Since this is CSS, isn't there a way to simply override that @navbarCollapseWidth: 979px; CSS in my theme's custom CSS file rather than trying to recompile etc?
In reply to Nathan Bruley

Re: Custom Menu Display

by Nathan Bruley -
In reply to Nathan Bruley

Re: Custom Menu Display

by Mary Evans -

What you need to do is use FIREBUG and find out what the compiled width actually is then add that as plain old CSS to your themes CSS settings page.

In reply to Mary Evans

Re: Custom Menu Display

by Nathan Bruley -

Mary, thanks for the feedback.

I'm not sure if that will work for us... we're using Aardvark full screen width theme and I'd like to be able to let it go to max width possible. Would adding it to the theme's CSS settings page put the code before the rendering happens? Would giving a fixed width of 940px give scroll bars for folks with 800px wide screens?

Thanks.