• 01-03-2023, 16:41:32
    #10
    Footer şablonunu bulup " .footer__content-top .grid " burada ki divi kaldırmanız gerekiyor o zaman.
  • 01-03-2023, 16:44:00
    #11
    isterseniz bana özelden anydesk gönderin yardımcı olmaya çalışayım
  • 01-03-2023, 17:12:13
    #12
    Gerrard adlı üyeden alıntı: mesajı görüntüle


    bu da olmadı. kayıt ettirmiyor bana

    footer dosyasinin kodlari asagida;

    {% comment %}theme-check-disable UndefinedObject{% endcomment %}
    
    <footer class="footer {% if section.settings.footerimage %}footerimage lazyload{% else %}footer-color{% endif %}" {% if section.settings.footerimage %}data-bg="{{ section.settings.footerimage | img_url: 'master' }}"{% endif %}>
      {%- if section.blocks.size > 0 -%}
       {% if settings.pettern-image2 != blank %}
            <div class="nav-pettern" style="background-image: url('{{ settings.pettern-image2 | img_url: 'master' }}');">
              
            </div>
            {% endif %}
    
        <div class="footer__content-top page-width">
          
      <div class="newsletter-section">
        <div class="newsletter-topimage">
            <div class="img-container newsletter-topicon">
              {% if section.settings.leftimagetop != blank %}
                 <img class="lazyload" data-src="{{ section.settings.leftimagetop | img_url: 'master' }}" alt="Image">
               {% endif %}
            </div>
        </div>
        <div class="newsletter-leftimage">
                <div class="img-container newsletter-icon1">
                   {% if section.settings.leftimage != blank %}
                    <img class="lazyload" data-src="{{ section.settings.leftimage | img_url: 'master' }}" alt="Image">
                        {% endif %}
                </div>
            </div>
            <div class="newsletter-inner {% if section.settings.show_social %} newsletter-social{% else %} newsletter{% endif %}">
                 <div class="block_newsletter {% if section.settings.show_social %} col-xl-9 col-lg-8 col-md-9{% else %} newsletter-center{% endif %}">
              {% if section.settings.news_heading != blank or section.settings.news_subheading != blank %}
              <div class="newsletter-content">
                <div class="newsletter_icon">
                  {% include 'icons' with 'news-icon' %}
                </div>
                <div class="newsletter_text">
                {% if section.settings.news_heading != blank %}
                <h2>{{ section.settings.news_heading | escape }}</h2>
                {% endif %}  
                {% if section.settings.news_subheading != blank %}
                <p>{{ section.settings.news_subheading | escape }}</p>
                {% endif %}  
                </div>
              </div>
              {% endif %}
              <div class="newsletter-form-content">
              {%- form 'customer', id: 'ContactFooter' -%}
              <input type="hidden" name="contact[tags]" value="newsletter">
              <div class="newsletter-form__field-wrapper ">
                <div class="field">
                  <input
                         id="NewsletterForm--{{ section.id }}"
                         type="email"
                         name="contact[email]"
                         class="field__input"
                         value="{{ form.email }}"
                         aria-required="true"
                         autocorrect="off"
                         autocapitalize="off"
                         autocomplete="email"
                         {% if form.errors %}
                         autofocus
                         aria-invalid="true"
                         aria-describedby="ContactFooter-error"
                         {% elsif form.posted_successfully? %}
                         aria-describedby="ContactFooter-success"
                         {% endif %}
                         placeholder="{{ 'newsletter.label' | t }}"
                         required
                         >
                  <label class="field__label" for="NewsletterForm--{{ section.id }}">
                    {{ 'newsletter.label' | t }}
                  </label>
                </div>
                {%- if form.errors -%}
                <small class="newsletter-form__message form__message alert alert-danger" id="ContactFooter-error">{% include 'icons' with 'error' %} {{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}</small>
                {%- endif -%}
              </div>
              <button type="submit" class="button button--primary newsletter-form__button" name="commit" id="Subscribe">
                <span class="hidden-sm-down">{{ 'newsletter.button_label' | t }}</span>
                <span class="hidden-sm-up">{{ 'newsletter.small_button_label' | t }}</span>
              </button>
              {%- if form.posted_successfully? -%}
              <h3 class="newsletter-form__message newsletter-form__message--success form__message alert alert-success" id="ContactFooter-success" tabindex="-1" autofocus>{% include 'icons' with 'success' %} {{ 'newsletter.success' | t }}</h3>
              {%- endif -%}
              {%- endform -%}
               </div>
              </div>
                   {% if section.settings.show_social != blank %}
                <div class="follow-us col-xl-3 col-lg-4 col-md-3">
                  {% include 'footer-social' %}
                </div>
                {% endif %}
        </div>
        
           <div class="newsletter-rightimage">
                <div class="img-container newsletter-icon2">
                    {% if section.settings.rightimage != blank %}
                    <img class="lazyload" data-src="{{ section.settings.rightimage | img_url: 'master' }}" alt="Image">
                  {%- endif -%}
                </div>
            </div>
       </div>
            <div class="footer__blocks-wrapper grid">
              <div id= "_mobile_storeinfo"></div>
              <div id= "_mobile_newsletter"></div>
                {% assign i = 1 %}
              {%- for block in section.blocks -%}
              
                <div class="footer-block grid__item block-width-{{ block.settings.block_width }}">
                  
                    {%- unless block.type == 'promotion' -%}
                  
                   {%- if block.settings.heading != blank -%}
                    <span data-href="#footer-toggle-{{ i }}" data-toggle="collapse" class="footer-title hidden-lg-up ishi-collapse in ishi-collapsed rotate" aria-expanded="false">
                      <h2 class="footer-block__heading">{{- block.settings.heading | escape -}}</h2>
                      <div class="navbar-toggler">
                     {% include 'icons' with 'caret' %}
                      </div>
                    </span>
                  
                  {%- endif -%}
                  
                   {%- endunless -%}
                  
                  {%- if block.settings.heading != blank -%}
                    <h2 class="footer-block__heading hidden-lg-down {% if block.type == 'contactinformation' and block.settings.hide_desktop %}hidden{% endif %}">{{- block.settings.heading | escape -}}</h2>
                  {%- endif -%}
                  {%- case block.type -%}
                     {%- when 'contactinformation' -%}
                     {% if block.settings.show_contact or block.settings.show_address or block.settings.show_email %}
                     <div id="footer-toggle-{{ i }}" class="contact-info{% if block.settings.heading != blank %} ishi-collapse desktop-collapse{% endif %}">
                      <div class="contact-info-inner">
                        <ul class="site-footer__linklist">
                          {% if block.settings.show_address and shop.address != blank %}
                            <li class="site-footer__linklist-item shop-address">
                              <i class="fa fa-map-marker" aria-hidden="true"></i>
                              <div class="content">
                                {% if block.settings.address_title != blank %}
                                <div class="title">{{ block.settings.address_title }}</div>
                                {% endif %}
                                <p>{{shop.address.street | escape }}</p>
                                <p>{{shop.address.country}}</p>
                              </div>
                            </li>
                          {% endif %}
                          {% if block.settings.show_contact and shop.phone != blank %}
                          <li class="site-footer__linklist-item shop-contact">
                            <i class="fa fa-phone" aria-hidden="true"></i>
                            <div class="content">
                              {% if block.settings.contact_title != blank %}
                              <div class="title">{{ block.settings.contact_title }}</div>
                              {% endif %}
                              <a href="tel:{{shop.phone}}">
                                {{shop.phone}}
                              </a>
                            </div>
                          </li>
                            {% endif %}
                          {% if block.settings.show_email and shop.email != blank %}
                            <li class="site-footer__linklist-item shop-email">
                              <i class="fa fa-envelope" aria-hidden="true"></i>
                              <div class="content">
                                {% if block.settings.email_title != blank %}
                                 <div class="title">{{ block.settings.email_title }}</div>
                                {% endif %}
                                <a href="mailto:{{shop.email}}">
                                {{shop.email}}
                                </a>  
                              </div>
                            </li>
                          {% endif %}
                        </ul>
                      </div>
                    </div>
                     {% endif %}
                  
                    {%- when 'link_list' -%}
                      {%- if block.settings.menu != blank or block.settings.heading != blank -%}
                          {%- assign footer_linklist = block.settings.menu -%}
                        <ul id="footer-toggle-{{ i }}" class="footer-block__details-content list-unstyled{% if block.settings.heading != blank %} ishi-collapse desktop-collapse{% endif %}">
                          {%- for link in linklists[footer_linklist].links -%}
                            <li>
                              <a href="{{ link.url }}" class="link link--text list-menu__item list-menu__item--link">
                                {{ link.title }}
                              </a>
                            </li>
                          {%- endfor -%}
                        </ul>
                      {%- endif -%}
                    {%- when 'storeinformation' -%}
                    <div id="_desktop_storeinfo">
                      <div class="footer-block__details-content store-infomation {{ block.settings.alignment }}">
                        {%- if block.settings.image != blank -%}
                          {%- assign image_size = block.settings.image_width -%}
                          {% capture logo_alt %}{{ block.settings.image.alt | default: shop.name }}{% endcapture %}                
                        <img class="lazyload"
                           data-src="{{ block.settings.image | img_url: 'large' }}"
                           alt="{{ logo_alt | escape }}"
                           itemprop="logo" style="width: {{ image_size }}px;">
                        {%- else -%}
                         <h2 class="footer-block__heading">{{ shop.name }}</h2>
                        {%- endif -%}
                        
                        <div class="store-desc">
                         {{ block.settings.store-desc }}
                        </div>
                        {%- if block.settings.show_social -%}
                         {% include 'footer-social' %}
                        {%- endif -%}
                      </div>
                    </div>
                    {%- when 'promotion' -%}
                   <div id="_desktop_newsletter">
                    <div class="footer-block--newsletter {{ block.settings.alignment }}">
                        {%- form 'customer', id: 'ContactFooter', class: 'footer__newsletter newsletter-form' -%}
                        <input type="hidden" name="contact[tags]" value="newsletter">
                        <div class="newsletter-form__field-wrapper">
                          <div class="field">
                            <input
                                   id="NewsletterForm--{{ section.id }}"
                                   type="email"
                                   name="contact[email]"
                                   class="field__input"
                                   value="{{ form.email }}"
                                   aria-required="true"
                                   autocorrect="off"
                                   autocapitalize="off"
                                   autocomplete="email"
                                   {% if form.errors %}
                                   autofocus
                                   aria-invalid="true"
                                   aria-describedby="ContactFooter-error"
                                   {% elsif form.posted_successfully? %}
                                   aria-describedby="ContactFooter-success"
                                   {% endif %}
                                   placeholder="{{ 'newsletter.label' | t }}"
                                   required
                                   >
                            <label class="field__label" for="NewsletterForm--{{ section.id }}">
                              {{ 'newsletter.label' | t }}
                            </label>
                          </div>
                          {%- if form.errors -%}
                          <small class="newsletter-form__message form__message alert alert-danger" id="ContactFooter-error">{% include 'icons' with 'error' %} {{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}</small>
                          {%- endif -%}
                        </div>
                        <button type="submit" class="button button--primary newsletter-form__button" name="commit" id="Subscribe">
                          <span class="hidden-sm-down">{{ 'newsletter.button_label' | t }}</span>
                          <span class="hidden-sm-up">{{ 'newsletter.small_button_label' | t }}</span>
    
                        </button>
                        {%- if form.posted_successfully? -%}
                        <h3 class="newsletter-form__message newsletter-form__message--success form__message alert alert-success" id="ContactFooter-success" tabindex="-1" autofocus>{% include 'icons' with 'success' %} {{ 'newsletter.success' | t }}</h3>
                        {%- endif -%}
                        {%- endform -%}
                       {%- if block.settings.show_social -%}
                           {% include 'footer-social' %}
                          {%- endif -%}
                    </div>
                  </div>
                   {%- when 'vertival_social' -%}
                     <div id="footer-toggle-{{ i }}" class="vertical-follows{% if block.settings.heading != blank %} ishi-collapse desktop-collapse{% endif %}">
                      {% include 'footer-social' %}
                     </div>
                    {%- endcase -%}
                    
                  {% assign i = i | plus: 1 %}
                </div>
              {%- endfor -%}
            </div>
        </div>
      {%- endif -%}
    </footer>
    
    <style>
      {%- for block in section.blocks -%}
      @media (min-width: 992px) {
        .block-width-{{ block.settings.block_width }}{
          width:{{ block.settings.block_width }}%;
        }
      }
      {%- endfor-%}
      #shopify-section-{{ section.id }} .newsletter-section{
            background: {{ section.settings.bgcolor }};
      }
      #shopify-section-{{ section.id }} .newsletter-section .newsletter_icon svg{
        fill: {{ section.settings.textcolor2 }};
      }
      #shopify-section-{{ section.id }} .newsletter-section .newsletter_text h2{
         color: {{ section.settings.textcolor }};      
      }
      #shopify-section-{{ section.id }} .newsletter-section .newsletter_text p{
         color: {{ section.settings.textcolor2 }};      
      }
    </style>
    
    {% schema %}
    {
      "name": "Footer",
      "blocks": [
        {
          "type": "link_list",
          "name": "Link List",
          "settings": [
            {
              "type": "text",
              "id": "heading",
              "default": "Quick links",
              "label": "Heading"
            },
            {
              "type": "link_list",
              "id": "menu",
              "default": "footer",
              "label": "Menu",
              "info": "Displays only top-level menu items."
            },
            {
              "type": "range",
              "id": "block_width",
              "min": 0,
              "max": 100,
              "step": 1,
              "unit": "%",
              "label": "Block Width",
              "default": 25
            }
          ]
        },
        {
          "type": "vertival_social",
          "name": "Social Followus",
          "limit": 1,
          "settings": [
            {
              "type": "text",
              "id": "heading",
              "default": "Social Follows",
              "label": "Heading",
              "info": "A heading is required to display the social follows."
            },
            {
              "type": "range",
              "id": "block_width",
              "min": 0,
              "max": 100,
              "step": 1,
              "unit": "%",
              "label": "Block Width",
              "default": 25
            }
          ]
       },
       {
          "type": "promotion",
          "name": "Promotion",
          "limit": 1,
          "settings": [
           {
              "type": "select",
              "id": "alignment",
              "label": "Text alignment on large screen",
              "options": [
                {
                  "value": "left",
                  "label": "Left"
                },
                {
                  "value": "center",
                  "label": "Center"
                },
                {
                  "value": "right",
                  "label": "Right"
                }
              ],
              "default": "center"
            },
            {
              "type": "text",
              "id": "heading",
              "default": "Newsletter",
              "label": "Heading"
            },
            {
              "type": "checkbox",
              "id": "show_social",
              "default": false,
              "label": "Show social media icons"
            },
            {
              "type": "range",
              "id": "block_width",
              "min": 0,
              "max": 100,
              "step": 1,
              "unit": "%",
              "label": "Block Width",
              "default": 25
            }
          ]
       },
       {
          "type": "contactinformation",
          "name": "Contact information",
          "limit": 1,
          "settings": [
            {
              "type": "checkbox",
              "id": "hide_desktop",
              "label": "Heading Hide Only Desktop",
              "default": true
            },
            {
              "type": "text",
              "id": "heading",
              "default": "Contact information",
              "label": "Heading"
            },
            {
              "type": "checkbox",
              "id": "show_address",
              "label": "Show Address",
              "default": true
            },
            {
              "type": "text",
              "id": "address_title",
              "label": "Address Title",
              "default": "Location"
            },
            {
              "type": "checkbox",
              "id": "show_contact",
              "label": "Show Contact",
              "default": true
            },
            {
              "type": "text",
              "id": "contact_title",
              "label": "Contact Title",
              "default": "Contact Us"
            },
            {
              "type": "checkbox",
              "id": "show_email",
              "label": "Show Email ID",
              "default": true
            },
            {
              "type": "text",
              "id": "email_title",
              "label": "Email Title",
              "default": "Email"
            },
            {
              "type": "range",
              "id": "block_width",
              "min": 0,
              "max": 100,
              "step": 1,
              "unit": "%",
              "label": "Block Width",
              "default": 25
            }
          ]
        },
        {
          "type": "storeinformation",
          "name": "Store Information",
          "limit": 1,
          "settings": [
            {
              "type": "image_picker",
              "id": "image",
              "label": "Logo"
            },
            {
              "type": "range",
              "id": "image_width",
              "min": 50,
              "max": 200,
              "step": 5,
              "unit": "px",
              "label": "Max Logo Width",
              "default": 200
            },
            {
              "type": "richtext",
              "id": "store-desc",
              "default": "<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</p>",
              "label": "Description"
            },
            {
              "type": "select",
              "id": "alignment",
              "label": "Text alignment on large screen",
              "options": [
                {
                  "value": "left",
                  "label": "Left"
                },
                {
                  "value": "center",
                  "label": "Center"
                },
                {
                  "value": "right",
                  "label": "Right"
                }
              ],
              "default": "center"
            },
            {
              "type": "checkbox",
              "id": "show_social",
              "default": false,
              "label": "Show social media icons"
            },
            {
              "type": "range",
              "id": "block_width",
              "min": 0,
              "max": 100,
              "step": 1,
              "unit": "%",
              "label": "Block Width",
              "default": 25
            }
          ]
        }
      ],
      "settings": [
        {
            "type": "image_picker",
            "id": "footerimage",
            "label": "Background Image",
            "info": "Size: 1920px X 650px"
          },
           {
                "type": "image_picker",
                "id": "leftimagetop",
                "label": "Top Image",
                "info": "Size: 230px X 80px"
              },
           {
                "type": "image_picker",
                "id": "leftimage",
                "label": "Left Image",
                "info": "Size: 49px X 100px"
              },
              {
                "type": "image_picker",
                "id": "rightimage",
                "label": "Right Image",
                "info": "Size: 49px X 100px"
              },
        {
            "type": "color",
            "id": "bgcolor",
            "label": "Background Color",
            "default": "#BB3239"
          },
          {
            "type": "color",
            "id": "textcolor",
            "label": "Text Color 1",
            "default": "#19469b"
          },
         {
            "type": "color",
            "id": "textcolor2",
            "label": "Text Color 2",
            "default": "#ec255a"
          },
          {
            "type": "text",
            "id": "news_heading",
            "label": "Title",
            "default": "Newsletter!"
          },
          {
            "type": "html",
            "id": "news_subheading",
            "label": "Sub Title",
            "default": "Sign Up And Get Latest Offer"
          },
    {
            "type": "checkbox",
            "id": "show_social",
            "label": "Show Social Icons",
            "default": true
          }
      ],
      "default": {
        "blocks": [
          {
            "type": "link_list"
          }
        ]
      }
    }
    {% endschema %}


    yazarken -top .grid kısmı hatalı hocam, top ve .grid arasında boşluk olmamalı