SOLVED Floating Menu image

More
12 years 5 months ago #19656 by ced1870
the grey color comes from the theme
devx.schoolofmusic.ucla.edu/modules/mod_.../css/maximenuhck.php
line 214 on

div#performanceLEFT ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > a, div#performanceLEFT ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h2 a, div#performanceLEFT ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h3 a, div#performanceLEFT ul.maximenuck li.maximenuck ul.maximenuck2 li.active > a, div#performanceLEFT ul.maximenuck2 li:hover > a, div#performanceLEFT ul.maximenuck2 li:hover > h2 a, div#performanceLEFT ul.maximenuck2 li:hover > h3 a, div#performanceLEFT ul.maximenuck2 li.active > a


you should be able to override it in the styles customization with the plugin params in the "hover state" of the submenu link

on the same css styles (above) you can add
Code:
line-height: 50px;
to center your text

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #19666 by rowby
Hi CeD,

Much better. (I created a new theme (based on Theme 5) and made the changes there. Just copied the folder over with new name.)

It's working good for except when the hover happens, the line height reverts to the default. So if you can show me where in the maximenuhck.php I need to make the hover 60 px high it will be finished! (Maybe it just needs "!important"???
Code:
div#<?php echo $id; ?> ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > a, div#<?php echo $id; ?> ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h2 a, div#<?php echo $id; ?> ul.maximenuck li.maximenuck ul.maximenuck2 li:hover > h3 a, div#<?php echo $id; ?> ul.maximenuck li.maximenuck ul.maximenuck2 li.active > a, div#<?php echo $id; ?> ul.maximenuck2 li:hover > a, div#<?php echo $id; ?> ul.maximenuck2 li:hover > h2 a, div#<?php echo $id; ?> ul.maximenuck2 li:hover > h3 a, div#<?php echo $id; ?> ul.maximenuck2 li.active > a { color: #333 !important; background: #2E74FF !important; line-height: 60px; }

BTW I could not get the hover in the menu parameters to overrule the grey, so I just put the "blue" in the maximenuhck.php file

Rowby

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #19667 by ced1870
just apply the line-height line 204 on
div#performanceLEFT ul.maximenuck li.maximenuck ul.maximenuck2 li a, div#performanceLEFT ul.maximenuck2 li a

instead of on the :hover state

Joomlack Webmaster and Developer
The following user(s) said Thank You: rowby

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #19668 by rowby
Thanks, CeD,

All looks fine now!

Rowby

Please Log in or Create an account to join the conversation.

Time to create page: 0.209 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 920 guests and one member online