Shoehorn updated for M2.8 and M2.9(beta)

Shoehorn updated for M2.8 and M2.9(beta)

by Gareth J Barnard -
Number of replies: 6
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Themers,

I've updated Shoehorn to fix an issue: https://github.com/gjb2048/moodle-theme_shoehorn/issues/10 - which has occurred since the detachment from the parent Bootstrap theme - it happens!  Please download from:

M2.8: https://moodle.org/plugins/pluginversion.php?id=8474

M2.9: https://moodle.org/plugins/pluginversion.php?id=8475

Cheers,

Gareth

Average of ratings: -
In reply to Gareth J Barnard

Re: Shoehorn updated for M2.8 and M2.9(beta)

by Davide Spanu -

Hi.

here the pic requested

Attachment Studio_20150506_184423.png
In reply to Davide Spanu

Re: Shoehorn updated for M2.8 and M2.9(beta)

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

Thanks Davide.

In reply to Gareth J Barnard

Re: Shoehorn updated for M2.8 and M2.9(beta)

by Davide Spanu -

You're welcome

In reply to Davide Spanu

Re: Shoehorn updated for M2.8 and M2.9(beta)

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

Hi Davide,

Please could you put the following CSS into the 'Custom CSS' box of the 'General' settings page for the theme:

@media (min-width: 768px) {
  body.compactnavbar .navbar-right .dropdown-menu {
    right: auto;
    left: 0;
  }
}

and see if it works for you, then let me know and I'll patch the M2.8 version from the M2.9 version.

Cheers,

Gareth

In reply to Gareth J Barnard

Re: Shoehorn updated for M2.8 and M2.9(beta)

by Davide Spanu -

I tried but i have the same problem. the dropdown menu aligns still on the right side of the key

In reply to Davide Spanu

Re: Shoehorn updated for M2.8 and M2.9(beta)

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

Hi Davide,

That's correct as your first screen shot showed the problem when the 'compactnavbar' setting was set.  Hence the fix.  But it would be another error if it did not align on the right of the key when 'compactnavbar' is un-set.

Why is the code I supplied above in the 'navbar'?  Did you add it to the 'Custom CSS' box in the 'General' settings of the theme?  Or the custom menu instead?

Cheers,

Gareth