【问题标题】:Where is defined this logo image in the CSS?这个标志图像在 CSS 中的哪里定义?
【发布时间】:2014-02-14 12:08:41
【问题描述】:

我正在开发这个网站:http://onofri.org/WP_BootStrap/

我有以下问题:使用 FireBug 我找不到在 CSS 中定义图像 logo.png 的位置(即主题左上角的小图像在主菜单栏的左侧)

你能帮帮我吗?在哪里定义的?

Tnx

安德烈亚

【问题讨论】:

标签: html css xhtml


【解决方案1】:

这里是:

.navbar-brand {
  display: inline-block;
  text-indent: -9999px;
  width: 190px;
  height: 50px;
  background: url(../img/logo.png) center center no-repeat;
}

http://onofri.org/WP_BootStrap/wp-content/themes/AsperTheme/assets/css/stili-custom.css?ver=all

【讨论】:

    【解决方案2】:

    http://onofri.org/WP_BootStrap/wp-content/themes/AsperTheme/assets/css/stili-custom.css?ver=all

    第 21 行

    .navbar-brand {
        background: url("../img/logo.png") no-repeat scroll center center rgba(0, 0, 0, 0);
        display: inline-block;
        height: 50px;
        text-indent: -9999px;
        width: 190px;
    }
    

    【讨论】:

      【解决方案3】:

      你去: http://onofri.org/WP_BootStrap/wp-content/themes/AsperTheme/assets/img/logo.png

      简单易懂...第 21 行

      .navbar-brand {
      display: inline-block;
      text-indent: -9999px;
      width: 190px;
      height: 50px;
      background: url(../img/logo.png) center center no-repeat;
      }
      

      如何找到它?看右下角:

      https://lh5.googleusercontent.com/-vNhGyk3XfaY/UuFlG6ipQfI/AAAAAAAAA4w/WAkSCbMVVNE/w1042-h586-no/so.jpg

      【讨论】:

        猜你喜欢
        • 2012-11-13
        • 2014-11-30
        • 1970-01-01
        • 2012-12-27
        • 1970-01-01
        • 2019-03-02
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多