Custom Menu Display

Custom Menu Display

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!

評比平均分數: -
In reply to Nathan Bruley

Re: Custom Menu Display

Mary Evans發表於

Hi,

Can I ask how you have added the menu items? 

Thanks

Mary

In reply to Mary Evans

Re: Custom Menu Display

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

Gareth J Barnard發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片
In reply to Gareth J Barnard

Re: Custom Menu Display

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

Nathan Bruley發表於
In reply to Nathan Bruley

Re: Custom Menu Display

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

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.