My Top Menu like REAL STATE template

More
12 years 2 months ago - 12 years 2 months ago #13636 by ivan.milic
It appears you don't have any styling to make that work?

Also instead of duplication intes in two different menus use aliases(alias as menu item type , I don't think aliases below title in module settings)
Last edit: 12 years 2 months ago by ivan.milic.

Please Log in to join the conversation.

  • elanna
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago #13648 by elanna
Ivan, I have included this lines in template_css.css:

.column_left .menu > li > ul {
display:none;
}

.column_left .menu > li:hover > ul {
display:block;
}

And I set show submenu itens as "YES" as well, but it doesn't work...

P.S.: about menu item alias, I'm using in some top menu links...

Please Log in to join the conversation.

More
12 years 2 months ago #13657 by ivan.milic
Ok I see why it don't works , it overridden by rules after it , so move that at the bottom of that file.


Also to be like in real-estate it should be:

.column_left .menu > li > ul {
display:none;
}

.column_left .menu > li.active > ul {
display:block;
}

and also if you want bullets:

.column_left .menu{
list-style-type: disc;
}

Please Log in to join the conversation.

  • elanna
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 2 months ago #13668 by elanna
Ok... we forgot a little tip... use "!important" and it works.

See how I did right now, and gettin additionally a "hover" effect:
Placed at the end of template_css.css:

.column_left .menu > li > ul {
display:none!important;
}

.column_left .menu > li:hover > ul {
display:block!important;
}

.column_left .menu > li.active> ul {
display:block!important;
}

If you dont have any technical objection to use those commands... the effect is perfect!!!

Please Log in to join the conversation.

More
12 years 2 months ago #13686 by ivan.milic
ok effect is same, rules take priority.
The following user(s) said Thank You: elanna

Please Log in to join the conversation.

Time to create page: 0.302 seconds
Powered by Kunena Forum