Shopify:修改徽标大小

时间:2017-08-23 05:54:28

标签: css shopify

我尝试在navbar-logo中修改徽标的大小,我使用" Shoppystore-Home1"模板。我试图修改代码但没有任何反应。



<div class="navbar-logo col-md-3 col-sm-12 col-xs-12" style="">
          <div class="pull-left">
            {% if template == 'index' %}
            <h1 class="site-header-logo no-margin" itemscope itemtype="http://schema.org/Organization">
              {% else %}
              <div class="site-header-logo" itemscope itemtype="http://schema.org/Organization">
                {% endif %}

                {% if section.settings.logo and section.settings.logo_img %}
                <a href="/" itemprop="url" class="site-header-logo-image">
                  {% capture image_size %}{{ section.settings.logo_max_width }}x{% endcapture %}
                  <img src="{{ section.settings.logo | img_url: image_size }}"
                       srcset="{{ section.settings.logo | img_url: image_size }} 0.1x, {{ section.settings.logo | img_url: image_size, scale: 0.2 }} 0.2x"
                       alt="{{ section.settings.logo.alt | default: shop.name }}"
                       itemprop="logo">
                </a>
                {% else %}
                <a class="site-header-logo-link" href="/" itemprop="url">{{ section.settings.logo_text }}</a>
                {% endif %}
                {% if template == 'index' %}
                </h1>
              {% else %}
              </div>
            {% endif %}
          </div> 
        </div>
&#13;
&#13;
&#13;

0 个答案:

没有答案