【问题标题】:joomla gantry template css arrow indicatorjoomla龙门模板css箭头指示器
【发布时间】:2013-10-06 20:00:48
【问题描述】:

在龙门框架的融合菜单中,我有一个带有子菜单的项目。自然有一个子菜单指示器,一个向下箭头表示该菜单项还有更多内容。 我设法使用这个 gantry-custom.css 文件增加了菜单按钮的大小(这是一个要求):

.gf-menu.l1 > li > .item{
    font-size:15px;
    line-height:64px;
    padding-top:7px;
    padding-bottom:7px;
    position:relative;
}

现在,问题是指示器(向下箭头)现在在菜单标题下方非常低,如下图所示:

我需要将箭头与菜单标题放在同一行。 我该怎么做?

谢谢

【问题讨论】:

    标签: css joomla3.0 joomla-template


    【解决方案1】:

    在菜单 css 文件中添加以下内容,或更改相应的类声明参数以满足您的需要。定位“顶部”定义了箭头相对于容器元素的位置。

    .gf-menu li.parent > .item:after {
        top: 20%; /* this is the parameter that defines the arrow positioning */
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-19
      • 2015-02-14
      相关资源
      最近更新 更多