Active
Project:
YUI Menu
Version:
5.x-2.0
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
5 Jul 2008 at 03:45 UTC
Updated:
19 Jul 2010 at 18:37 UTC
I m trying to make a menu with yui menu but i want some other skins rather than that of SAM skin. is there any skin available and how i will get from ... and how i will change its css file?
Comments
Comment #1
iqbal.pakistan commentedI also have same problem. I want to install a theming by using yui menus. If you can provide skins, it will be very helpful.
Comment #2
bakyildiz commentedActually i am not a html/css man. I had requested a guy how can help to improve the module to use theming. But could not get any help. I will very happy if there is an advise to improve the module for theming.
Comment #3
drupalmind commentedActually I wanted to see that if Drop down menus item would be bigger than UL usual width . it will go in two lines but i am not getting it through the yahoo menu. can u help for that.
Comment #4
bakyildiz commentedI think you can enlarge the font size by adding the following code to your css file which is menu.css under the theme/yourtheme directory.
Comment #5
xcorex commentedOne of my websites are Red, and the Yui Menu is blue. Any advice to make it red too?
Thank you
Comment #6
xcorex commentedI've done it. Adding the following code to the style.css under the theme/yourtheme directory.
Comment #7
Anandyrh commentedDid it work for you?
Comment #8
xcorex commentedya.
Comment #9
Anandyrh commentedWas thinking to use YUI and then used CCK with CCK Fieldgroup Tabs module it fixed my problem.
The perfect module what i was searching for.
Thanks to CCK!
Comment #10
dvkd commentedHI xcorex,
Can u please tell me how to change the text colour in YUI menu button,
I need to change text color of yui-skin-sam to white , is it possible?
Thanks
Comment #11
xcorex commentedHello dvkd,
How could you read a white text inside the white white menu?
Comment #12
DaHarry commentedhi,
you can style the menu by yourself. Edit yuimenu.css in modules/yuimenu folder.
here some examples:
#yuimenu ul li
{
position: relative;
z-index: 10;
background-image: none;
background-color: #aaa;
border-right:0px;
}
#yuimenu ul{
background-color: #acacac;
}
#yuimenu .yuimenubarnav .yuimenubaritemlabel-hassubmenu{color:#fff;}
#yuimenu .yuimenubarnav .yuimenubaritemlabel:hover{color:#aaa;}
#yuimenu .yuimenubarnav .yuimenubaritemlabel{color:#fff;}
#yuimenu ul li.yuimenuitem{width:100%;}
#yuimenu ul li.yuimenuitem a{color:#fff;min-width:150px;}
#yuimenu ul li a.yuimenuitemlabel-hassubmenu{color:#fff; text-decoration:underline;}
#yuimenu ul li a.yuimenuitemlabel-selected{color:#aaa;}
#yuimenu ul li a.yuimenuitemlabel{color#fff;}
install firebug or webdeveloper for IE to see which class has to be changed.
Hope that helps for Drupal 5.x too.
DaHarry
Comment #13
dvkd commentedHi xcorex,
i forgot to inform u that i have changed the color of white menu to blue , but now i want to change the color of text to white
Thanks
Comment #14
xcorex commentedOk dvkd,
I'm not using this menu right now, but ill try to help.
Into the css statement that you changed the color of the background to blue, insert this line:
color:#fff;
If it couldn't help, try the DaHarry approach.
Comment #15
dvkd commentedHi DaHarry,
Thanks for ur support ,I copied the code which u gave in yuimenu.css but , no changes occured when i refreshed the page.
Is there anything else to be done
Comment #16
dvkd commentedhI DAHArry
I copied the code in style sheet of the theme ,and its working fine ,
Thank u
Comment #17
dvkd commentedHi DaHarry
Can u please tell me how to give borders to YUI sub menus?
thank u
Comment #18
DaHarry commentedHi dvkd,
with the code above you overwrite the difined style of the yuimenu in your theme. thats the right way. you can redefine all stylesheets by simply find out which classname has to be redefined. to find out which id and classnames you should change try firebug or ms developer toolbar. both where working fine for me. simply navigate in the generated html-code to the elements you want to restyle. there you will find the classnames which has to be redefined in your theme css file. if nothing changes after redefinition your overwritten class may be wrong or tag navigations are not complete. try something like
#yuimenu ul li ul{border:1px solid black}
for me it is working fine.
Comment #19
skwashd commentedThe skinning guide for YUI menus might be of interest for some people. See http://developer.yahoo.com/yui/menu/#skinref
Comment #20
mkzimms commentedHow can I change the max link depth of the menu. I would only like to show only the primary link + 1 set of child links. Is this possible?