English 中文(简体)
1. 定制Joomla的一个菜单项目背景
原标题:Customize one of menu item background on Joomla

I ve been trying to customize one the menu item on the joomla template i ve currently use. Some of the menu I ve used before normally display item ID when you view the source code but my template doesn t display any at all. Anyhow I created the css code below hoping this will meet my goal but it didn t work. What I m trying to accomplish is make the APPLY NOW an item #30 on my administrative main menu panel column turn the background into RED before any hover or any activities. You could view my temp link at getvms.net/home

我非常赞赏你能够帮助我。

谢谢!

法典:

    #s5_nav li { 
    display:block;
    list-style:none;
position:relative;
float:left;
border-right:solid 1px #B6B5B5;
height:45px;
padding-left:10px;
padding-right:10px;
padding-top:9px;
padding-bottom:0px;
overflow:hidden;
}


#s5_nav li.item#30, {
    display:block;
list-style:none;
position:relative;
float:left;
border-right:solid 1px #B6B5B5;
height:45px;
padding-left:10px;
padding-right:10px;
padding-top:9px;
padding-bottom:0px;
overflow:hidden;
background:red;
问题回答

您在正确方向上以细微的方式对待某一项物品,但有一个错误。

#s5_nav li.item#30, {
display:block;

页: 1

#s5_nav li.item#30{
display:block;

它将帮助你。

如果你使用Joomla! 1.6或1.7:

您可以通过Joomla的Mendu经理将CSS的班级适用于具体菜单项目。 一旦你这样做,你就可以在你的风格上对这类人采取风格。

为此,在Mendu公司经理中只开了理想的Mendu项目,在右手栏中点击“链接类型选择”打开小组。 “CSS”领域的“链接式样式”使你能够具体说明你希望用于Mendu项目的CSS类别的名称。 这样,你就只能对这个单一菜单项目采取风格。

审判:

#s5_nav li.item30{
    display:block;
    list-style:none;




相关问题
Delphi 2010 Action Manager & Main Menu Bar

I m trying to use the Action Manager and Action Main Menu Bar in Delphi 2010 an I have no idea how to make this work. I ve tried looking at the examples that come with Delphi 2010 and I can t seem to ...

asp.net (c#) menu/menuItem event/event-handling

Is it possible to use asp.net standard Menu (server-control) for tasks other than navigation? For example: I want to use asp.net menu to add a button control to the asp.net panel (server-control). ...

jQuery javascript menu?

Does anyone know how you create a menu with this rollover effect. Is it using jQuery? I want to create something similar using WordPress as my CMS. Would be great if there is a WordPress plugin? http:/...

jquery conditional logic for currentpage

I m using jQuery for a vertical site navigation menu, all links within site. I have the basic functionality working, but am at a loss as to the correct if-else to accomplish the following: As the ...

Links within and outside List elements not working

I m trying to create a unordered list, with each li element having it s own background image (no text, just image), but I m having trouble (in Firefox at least, it works in Safari) getting the link to ...

Horizontal menu with overflow-x:auto

Is it possible to have a horizontal menu that can scroll overflowed menuitems horizontally, but also display the vertical overflow when a submenu is to appear?

Bash Case menu - dynamic choices

I m not sure what the policy is here on asking followup questions. So please excuse me if i m breaking protocol. Earlier I was constructing a menu in bash ( Here ) And so far I ve got it working ...

热门标签