Hey guys, I would be happy if someone help me to fix this problem:
The buttons are not in the same line how can I fix it? ty!
Hi @OmriYaniv
Could you please share store url and protect password? I will help you check the issue.
Hey @EBOOST , ty.
https://babify-8145.myshopify.com/
password: omri
Hi @OmriYaniv
May I suggest to update code these steps:
.shopify-payment-button div {
height: auto!important;
}
Wow it worked! Thank you very much!
If you could help with anything else, I would be very grateful.
In the header on the right side, the add to cart icon only appears when you scroll down the site a little and does not appear regularly because I put some code that delete the top bar
here is the code: @EBOOST
{% comment %}
** Header - default view **
{% comment %} Structured data {% endcomment %}
{% if template.name == ‘index’ %}
{% endif %}
{%- assign locale_selector = false -%}
{%- assign currency_selector = false -%}
{%- if section.settings.show_currency_selector and shop.enabled_currencies.size > 1 -%}
{%- assign currency_selector = true -%}
{%- endif -%}
{%- if section.settings.show_locale_selector and shop.published_locales.size > 1 -%}
{%- assign locale_selector = true -%}
{%- endif -%}
{% comment %}Mobile navigation{% endcomment %}
{% if section.settings.promo_text != blank %}{% if shop.customer_accounts_enabled %}
{% if customer %}
{% render ‘localization-switcher-mobile’,
additional_classes: ‘mobile-menu__disclosure’,
currency_selector: currency_selector,
locale_selector: locale_selector,
show_currency: section.settings.show_currency_selector
%}
{% if template contains “index” %}
{% assign feature_image = true %}
{% elsif template contains “collection” %}
{% assign feature_image = true %}
{% elsif template contains “blog” %}
{% assign feature_image = true %}
{% elsif template contains “article” %}
{% assign feature_image = true %}
{% elsif template contains “contact” %}
{% assign feature_image = true %}
{% elsif template contains “product” %}
{% assign feature_image = true %}
{% elsif template contains “gallery” %}
{% assign feature_image = true %}
{% elsif template contains “banner” %}
{% assign feature_image = true %}
{% elsif template contains “details” %}
{% assign feature_image = true %}
{% elsif template contains “faq” %}
{% assign feature_image = true %}
{% elsif template contains “search” %}
{% assign feature_image = true %}
{% elsif template contains “cart” %}
{% assign feature_image = true %}
{% else %}
{% assign feature_image = false %}
{% endif %}
{% comment %}Main navigation{% endcomment %}
{{ 'layout.general.empty_cart' | t }}
{% if item.line_level_discount_allocations.size > 0 %}
{% for discount_allocation in item.line_level_discount_allocations %}
{{ discount_allocation.discount_application.title }}
{% endfor %} {% endif %}{% if settings.display_tos_checkbox and settings.go_to_checkout %}
{{ 'cart.general.agree_to_terms_html' | t }} {% if settings.tos_page != blank %} {{ 'cart.general.view_terms' | t }} {% endif %}
{% endif %}{% if settings.cart_message != blank %}
{% if settings.go_to_checkout %}
{% if settings.show_lock_icon %}{% endif %}{{ ‘layout.general.checkout’ | t }}
{% else %}
{% if settings.show_lock_icon and settings.go_to_checkout %}{% endif %}{{ ‘layout.general.go_to_cart’ | t }}
{% endif %}
{% if shop.customer_accounts_enabled %}
{% assign vertical_menu = section.settings.vertical_menu %}
{% capture menu_left %}
{% if vertical_menu %}
{% render ‘vertical-menu’, linklist: section.settings.main_linklist %}
{% else %}
{% render ‘menu’, linklist: section.settings.main_linklist %}
{% endif %}
{% endcapture %}
{% capture menu_right %}
{% if vertical_menu %}
{% render ‘vertical-menu’, linklist: section.settings.main_linklist2 %}
{% else %}
{% render ‘menu’, linklist: section.settings.main_linklist2 %}
{% endif %}
{% endcapture %}
{% capture search %}
{% if section.settings.search_enabled %}
{% if section.settings.menu_position == ‘inline’ %}
{% if section.settings.logo_position == ‘left’ %}
{{ logo }}
{% render ‘sub-menu’, linklist: section.settings.main_linklist %}
{% render ‘sub-menu’, linklist: section.settings.main_linklist2 %}
{% schema %}
{
“name”: “Header”,
“class”: “header-section”,
“settings”: [
{
“type”: “header”,
“content”: “Announcement bar”
},
{
“type”: “richtext”,
“id”: “promo_text”,
“label”: “Text”,
“info”: “Maximum character limit is 170”
},
{
“type”: “header”,
“content”: “Top bar”
},
{
“type”: “checkbox”,
“id”: “social_icons_header”,
“label”: “Show social media header icons”,
“default”: true
},
{
“type”: “text”,
“id”: “phone_number”,
“label”: “Phone number”,
“info”: “1-800-555-5555”
},
{
“type”: “link_list”,
“id”: “top_bar_menu”,
“label”: “Menu”,
“info”: “This menu won’t show drop-down items”
},
{
“type”: “checkbox”,
“id”: “show_cart”,
“label”: “Show cart”,
“default”: true
},
{
“type”: “select”,
“id”: “cart_icon”,
“label”: “Cart icon”,
“options”: [
{
“value”: “cart”,
“label”: “Cart”
},
{
“value”: “bag”,
“label”: “Bag”
}
],
“default”: “cart”
},
{
“type”: “header”,
“content”: “Language selector”,
“info”: “To add a language, go to your language settings.”
},
{
“type”: “checkbox”,
“id”: “show_locale_selector”,
“label”: “Show language selector”,
“default”: true
},
{
“type”: “header”,
“content”: “Currency selector”,
“info”: “To add a payment, go to your currency settings.”
},
{
“type”: “checkbox”,
“id”: “show_currency_selector”,
“label”: “Show currency selector”,
“default”: true
},
{
“type”: “header”,
“content”: “Logos”
},
{
“type”: “range”,
“id”: “logo_display_width”,
“label”: “Logo display width”,
“step”: 5,
“min”: 105,
“max”: 205,
“default”: 205,
“unit”: “px”
},
{
“type”: “image_picker”,
“id”: “logo”,
“label”: “Logo”,
“info”: “400 x 200px recommended”
},
{
“type”: “image_picker”,
“id”: “logo_home”,
“label”: “Secondary logo over content (optional)”,
“info”: “400 x 200px recommended”
},
{
“type”: “image_picker”,
“id”: “logo_mobile”,
“label”: “Mobile logo”,
“info”: “100 x 50px recommended”
},
{
“type”: “header”,
“content”: “Menus”
},
{
“type”: “link_list”,
“id”: “main_linklist”,
“label”: “Main menu”
},
{
“type”: “link_list”,
“id”: “main_linklist2”,
“label”: “Secondary menu”
},
{
“type”: “checkbox”,
“id”: “vertical_menu”,
“label”: “Enable vertical menus”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “dropdown_click”,
“label”: “Open dropdowns on click instead of hover”,
“default”: false
},
{
“type”: “header”,
“content”: “Search”
},
{
“type”: “checkbox”,
“id”: “search_enabled”,
“label”: “Show search”,
“default”: true
},
{
“type”: “header”,
“content”: “Layout”
},
{
“type”: “checkbox”,
“id”: “fixed_header”,
“label”: “Fixed (‘sticky’) header”,
“default”: true
},
{
“type”: “select”,
“id”: “logo_position”,
“label”: “Logo position”,
“info”: “Applies when menu position has been set to ‘Inline with logo’”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
}
],
“default”: “center”
},
{
“type”: “select”,
“id”: “logo_alignment”,
“label”: “Logo alignment”,
“info”: “Applies when menu position has been set to ‘Under logo’”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
}
],
“default”: “center”
},
{
“type”: “select”,
“id”: “menu_position”,
“label”: “Menu position”,
“options”: [
{
“value”: “inline”,
“label”: “Inline with logo”
},
{
“value”: “block”,
“label”: “Under logo”
}
],
“default”: “inline”
},
{
“type”: “select”,
“id”: “menu_alignment”,
“label”: “Menu alignment”,
“options”: [
{
“value”: “align_left”,
“label”: “Left”
},
{
“value”: “center”,
“label”: “Center”
},
{
“value”: “align_right”,
“label”: “Right”
}
],
“default”: “align_left”
}
]
}
{% endschema %}