CSS问题 - 滑块菜单

时间:2011-03-28 20:55:39

标签: css wordpress menu

图片滑块菜单项在博客页面的每个页面上向下移动5px,它们位于正确的位置。我可以看到Firebug的转变,但不知道在CSS中修复的位置。 http://drkateklemer.com 谢谢!

3 个答案:

答案 0 :(得分:1)

你的问题出现在你的style.css第662行的有机自然夏季主题中。将边距更改为0px,从此处开始:

#contenthome h1, #content h1 {
    color: #333333;
    font-size: 32px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-transform: normal;
    letter-spacing: -1px;
    margin: 5px 0px 5px 0px;
    padding: 0px;
    line-height: 32px;
    }

对此:

#contenthome h1, #content h1 {
        color: #333333;
        font-size: 32px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        text-transform: normal;
        letter-spacing: -1px;
        margin: 0px;
        padding: 0px;
        line-height: 32px;
        }

注意:使用适用于Chrome的开发人员工具进行测试。

答案 1 :(得分:0)

wordpress正在将图像加载到内容块中,我不认为你的css是如何通过模板访问图像的

答案 2 :(得分:0)

#contenthome h1, #content h1 {
        color: #333333;
        font-size: 32px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        text-transform: normal;
        letter-spacing: -1px;
        margin: 0px 0px 0px 0px;
        padding: 0px;
        line-height: 32px;
    }