Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Categories → Menu addon] Improvement - Proposal (incl. Solution)

edited February 2011 in Vanilla 2.0 - 2.8
hi!

i think it would be nice if the hover menu would actually hover *above* the rest of the page.
this can be achieved by adding
z-index:9;
to plugins/Categories2Menu/categories2menu.css

example:


ul#Menu li ul {
position: absolute;
visibility: hidden;
}

ul#Menu li ul li {
z-index:9;
float: none;
display: inline;
margin: 0;
}

ul#Menu li ul li a {

}

ul#Menu li ul li a:hover {

}


or am i the only one out there having this problem?

Comments

  • Options
    edited January 2011
    plus you may additionally want to change line 53 in file plugins/Categories2Menu/class.categories2menu.plugin.php

    from
    var menustyles = { "visibility":"visible", "display":"block" }
    to
    var menustyles = { "visibility":"visible", "display":"block", "z-index":"9" }
  • Options
    oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    Thanks for your feedback, @theOne !

    I actually tried already to fix the overlay issue by adding a z-index - but obviously I did something wrong, because it didn't work when I was testing. Therefore I postponed it...

    Anyway, I just uploaded a minor update of the plugin containing your CSS enhancements! It does show the Categories menu properly ABOVE f.eg. messages.

    Thanks again for pointing this out,
    Oliver
  • Options
    Please make this feature to work with iVanilla theme also because it breaks its design for some reason.

    This plugin makes Vanilla forum much better i would say.

    Thanks in advance.
  • Options
    oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    I will look into that, @Niisama.
  • Options
    In firefox it works as it supposed to do, but in iexplore 7.0 it is still under "My Messages" (the blue bar when viewing all the discussions (default theme)).
  • Options
    oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    @GateKeeper Can you provide a screenshot?
  • Options
    Here ya go :-) http://i.imgur.com/d9hKq.png

    If you need to look at the html source, the url is: http://getspotnet.nl/forum/
  • Options
    oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    @GateKeaper Please switch to IE8 ;-) --> no problem with that one (testing it right now)
Sign In or Register to comment.