Hello ,
I want to move the Page Title and Description in My Collection to the Bottom of the Page. Can Someone Help Me With This?
How can I do it ?
Site : https://miyalingerie.com/collections/harness-lingerie
{% include 'global-variables' %}
{%- assign contents = null -%}
{%- assign desktop_title = section.settings.default_desktop_title -%}
{%- assign mobile_title = section.settings.default_mobile_title -%}
{%- case section.settings.margins_for_columns -%}
{%- when 'preset_1' %}{% assign margins_for_columns = home_builder_margins_for_columns_preset_1 %}
{%- when 'preset_2' %}{% assign margins_for_columns = home_builder_margins_for_columns_preset_2 %}
{%- when 'preset_3' %}{% assign margins_for_columns = home_builder_margins_for_columns_preset_3 %}
{%- when 'preset_4' %}{% assign margins_for_columns = home_builder_margins_for_columns_preset_4 %}
{%- when 'preset_5' %}{% assign margins_for_columns = home_builder_margins_for_columns_preset_5 %}
{%- endcase -%}
{%- for block in section.blocks -%}
{%- assign is_content = false -%}
{%- assign is_slider = false -%}
{%- if block.settings.for_collection == collection.handle and block.type == 'promobox' -%}
{%- assign is_content = true -%}
{%- elsif block.settings.for_collection == collection.handle and block.type == 'slick_slider' -%}
{%- assign is_slider = true -%}
{%- endif -%}
{%- if is_content or is_slider -%}
{%- capture content -%}
{% capture block_id %}home-builder-block-id-{{ section.id }}-{{ forloop.index }}{% endcapture %}
{%- if block.settings.type == 'description' and collection.description != blank -%}
{{ collection.description }}
{%- elsif is_content -%}
{% render 'promobox' with block: block block_id: block_id promobox_curtain_opacity: promobox_curtain_opacity promobox_height_preset_1: promobox_height_preset_1 promobox_height_preset_2: promobox_height_preset_2 promobox_height_preset_3: promobox_height_preset_3 promobox_ultra_height_preset_1: promobox_ultra_height_preset_1 promobox_ultra_height_preset_3: promobox_ultra_height_preset_3 %}
{%- elsif is_slider -%}
{% include 'builder-slider-slick' %}
{%- endif -%}
{%- endcapture -%}
{%- assign contents = contents | append: content -%}
{%- elsif block.type == 'title' and block.settings.for_collection == collection.handle -%}
{%- assign desktop_title = block.settings.desktop_title -%}
{%- assign mobile_title = block.settings.mobile_title -%}
{%- endif -%}
{%- endfor -%}
{%- if contents -%}
{{ contents }}
{%- endif -%}
{%- if desktop_title == 'title' or desktop_title == 'title_with_description' -%}
{%- assign desktop_need_title = true -%}
{%- endif -%}
{%- if desktop_title == 'description' or desktop_title == 'title_with_description' -%}
{%- assign desktop_need_description = true -%}
{%- endif -%}
{%- if mobile_title == 'title' or mobile_title == 'title_with_description' -%}
{%- assign mobile_need_title = true -%}
{%- endif -%}
{%- if mobile_title == 'description' or mobile_title == 'title_with_description' -%}
{%- assign mobile_need_description = true -%}
{%- endif -%}
{%- capture head -%}
{%- if desktop_need_title or mobile_need_title -%}
{% capture title_class %}{% if mobile_need_title != true %} d-none{% endif %}{% if desktop_need_title %} d-lg-block{% else %} d-lg-none{% endif %}{% endcapture %}
# {% if collection.handle == 'all' %}{{ 'collections.general.all_products_title' | t }}{% else %}{{ collection.title }}{% endif %}
{%- assign has_head = true -%}
{%- endif -%}
{%- if desktop_need_description or mobile_need_description -%}
{% capture description_class %}{% if mobile_need_description != true %} d-none{% endif %}{% if desktop_need_description %} d-lg-block{% else %} d-lg-none{% endif %}{% endcapture %}
{%- if collection.description != blank -%}
{{ collection.description }}
{%- assign has_head = true -%}
{%- endif -%}
{%- endif -%}
{%- endcapture -%}
{%- if has_head -%}
{{ head }}
{%- endif -%}
1 Like
@Kokoscuk
sorry for any issue
can you please share also store url
@Kokoscuk
can you please sent full code collection page so i will update
{ % 'global-variables' içerir % }
{ % 'breadcrumbs' içerir % }
{ %- if settings.collection_enable_fullwidth_head_section -% }
{ % bölüm 'collection-fullwidth-head' % }
{ % - endif -% }
{ % yakalama collection_head_html % }
{ % bölüm 'koleksiyon-kafası' % }
{ % endcapture % }
{ %- if settings.collection_sidebar_position == 'dropdown' -% }
{ % bölüm 'koleksiyon kenar çubuğu' % }
{ %- elsif settings.collection_sidebar_position == 'üst' -% }
{ %- if request.design_mode -% }
{ %- is_design_mode ata = true -% }
{ %- endif -% }
{ % bölüm 'collection-sidebar' % }
{ %- elsif settings.collection_show_sidebar != 'hide' -% }
{ %- if settings.collection_enable_sticky -% }
{ %- endif -% }
{ % bölüm 'collection-sidebar' % }
{ %- if settings.collection_enable_sticky -% }
{ %- endif -% }
{ %- endif -% }
{ { collection_head_html } }
{ %- collection_builder_mode_handle ataması = settings.collection_builder_mode | değiştir : '|' , '___' | işlemek | split : '___' -% }
{ %- collection_builder_mode_handle, collection.handle -% }
{ %- assign builder_mode = true -% }
{ %- endif -% }
{ %- if builder_mode -% }
{ % bölüm 'collection-builder' % }
{ %- endif -% }
{ % bölüm 'collection- gövde' % }
{ %- if settings.collection_enable_product_carousel_section -% }
{ % bölüm 'carousel-products' % }
{ %- endif -% }
{ %- if settings.collection_enable_sticky -% }
{ %- endif -% }
{ % include 'global-variables' % }
{ %- içerik atamak = null -% }
{ %- assign desktop_title =section.settings.default_desktop_title -% }
{ %- assign mobile_title = section.settings.default_mobile_title -% }
{ %- case section.settings.margins_for_columns -% }
{ %- 'preset_1' olduğunda ' % } {% Atama margins_for_columns = home_builder_margins_for_columns_preset_1% }
{ -% zaman 'preset_2' % } { % atama margins_for_columns = home_builder_margins_for_columns_preset_2% }
{ -% zaman 'preset_3' % } { % atama margins_for_columns = home_builder_margins_for_columns_preset_3% }
{ -% zaman 'preset_4' % } { % atama margins_for_columns = home_builder_margins_for_columns_preset_4 % }
{ %- 'preset_5' olduğunda % } {% Atama margins_for_columns = home_builder_margins_for_columns_preset_5% }
{ -% ENDCASE -% }
{ % -% - section.blocks blok için }
{ atama is_content yanlış = - -%% }
{ -% atama is_slider = yanlış -% }
{ % - eğer block.settings.for_collection == collection.handle ve block.type == 'promobox' -% }
{ %- is_content = true -% }
{ %- elsif block.settings.for_collection == collection.handle ve block.type atama == 'slick_slider' -% }
{ %- is_slider ata = true -% }
{% - Endif -% }
{ % - eğer is_content veya is_slider -% }
{ -% yakalama içeriği -% }
{ % yakalama block_id% } ev yapımı-blok-ID- { { section.id } } - { { forloop. dizin } } { % endcapture % }
{ %- if block.settings .type == 'açıklama' ve collection.description != boş -% }
{ { collection.description } }
{ -% elsif is_content -% }
{ % işlemek 'promobox' ile blok : blok block_id : block_id promobox_curtain_opacity : promobox_curtain_opacity promobox_height_preset_1 : promobox_height_preset_1 promobox_height_preset_2 : promobox_height_preset_2 promobox_height_preset_3 : promobox_height_preset_3 promobox_ultra_height_preset_1 : promobox_ultra_height_preset_1promobox_ultra_height_preset_3 : promobox_ultra_height_preset_3 % }
{ %- elsif is_slider -% }
{ % 'builder-slider-slick' içerir % }
{ %- endif -% }
{ %- endcapture -% }
{ %- içerik atamak = içerik | ekleme : içerik -% }
{ %- elsif block.type == 'başlık' ve block.settings.for_collection == collection.handle -% }
{ %- atama desktop_title = block.settings.desktop_title -% }
{%- atama mobile_title = block.settings.mobile_title -% }
{ %- endif -% }
{ %- endfor -% }
{ %- if content -% }
{ { içerik } }
{ %- endif -% }
{ %- if desktop_title == 'title' veya desktop_title == 'title_with_description' -% }
{ %- assign Desktop_need_title = true -% }
{ %- endif -% }
{ % - if desktop_title == 'description' veya desktop_title == 'title_with_description' -% }
{ %- assign Desktop_need_description = true -% }
{ %- endif -% }
{ %- if mobile_title == 'title' veya mobile_title == ' title_with_description' -%}
{ %- assign mobile_need_title = true -% }
{ %- endif -% }
{ %- if mobile_title == 'description' veya mobile_title == 'title_with_description' -% }
{ %- assign mobile_need_description = true -% }
{ % - endif -% }
{ %- kafa yakalama -% }
{ %- if desktop_need_title veya mobile_need_title -% }
{ % yakalama title_class % } { % if mobile_need_title != true % } d-none { % endif % } {% if desktop_need_title % } d-lg-block { % else % } d-lg-none { % endif % } { % endcapture % }
# { % if collection.handle == 'tümü' % } { { 'collections.general.all_products_title' | t } } { % başka % } {{ collection.title } } { % endif % }
{ %- atama has_head = true -% }
{ %- endif -% }
{ %- if desktop_need_description veya mobile_need_description -% }
{ % yakalama açıklama_sınıfı % } { % if mobile_need_description != true % } d-none { % endif % } { % if desktop_need_description % } d-lg-block { % else % } d-lg-none { % endif % } { % endcapture % }
{ %- if collection.description != boş -% }
{ { collection.description } }
{ %- has_head ata = true -% }
{ % - endif -% }
{ %- endif -% }
{ %- endcapture -% }
{ %- if has_head -% }
{ { kafa} }
{ %- endif -% }
@KetanKumar
1 Like
@Kokoscuk
thanks for your code
i have confusion that code
if possible to share your theme zip code or add me staff account and i need only theme access code no more
1 Like
Thank You. How Do I Grant Access? @KetanKumar
I sent an invitation to your e-mail address. Please check. @KetanKumar
1 Like
@Kokoscuk
got it let me know which theme can i do this?
1 Like
@KetanKumar
Upload me shella theme 4.12.0
1 Like
@Kokoscuk
sorry
Unable to access MiyaLingerie