【问题标题】:mobile version site mobile number always White color手机版网站手机号一律白色
【发布时间】:2013-09-25 06:32:12
【问题描述】:

我为我的Wordpress website 创建了mobile version 站点。我创建了 m.mysite.com。当我看到 m.mysite.com 时,手机号码显示我给的颜色(#000)。但在移动设备上,它总是显示White Color。

代码是,

<div class="header_number">
    281-407-6199
</div>

CSS 是,

.header_number{
    background: url(images/bg_3.png);
    background-color:#919191;
    text-align: center;
    font-family:Verdana;
    font-size:26px;
    color:#813010 !important;
    padding-top: 4px;
    padding-bottom: 23px;
}
header_number a{
    color:#813010 !important;
}

我还需要在移动设备中将其设置为相同的颜色。怎么办?

【问题讨论】:

    标签: html css mobile mobile-website mobile-devices


    【解决方案1】:

    只需更新你的风格。

    .header_number a{...}
    

    在类名中添加 DOT。

    【讨论】:

      【解决方案2】:

      改变

      header_number a{
      

      到

      .header_number a{
      

      您在其中缺少 DOT(.)。

      【讨论】:

        猜你喜欢
        • 2014-08-14
        • 2011-04-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-01-07
        • 1970-01-01
        • 2011-12-29
        相关资源
        最近更新 更多