hi everyone, can anyone please help me to Make marquee text start with full weight.
my store: https://you-boho-vibes.myshopify.com/
password: sotroy
A user sought help implementing a marquee text element that starts with full width, eliminating empty space at the beginning of the animation on their Shopify store.
Initial Response:
Resolution:
The original poster solved the problem independently by modifying the Hura Marquee section code. The solution involved duplicating the marquee content blocks within the HTML structure, ensuring the scrolling text appears continuous from the start without gaps.
Key Technical Details:
The discussion is resolved with a working solution provided.
hi everyone, can anyone please help me to Make marquee text start with full weight.
my store: https://you-boho-vibes.myshopify.com/
password: sotroy
You only need to update the direction attribute of marquee tag from left to right.
Hope can help
If you find my reply helpful, please hit Like and Mark as Solution
EBOOST
hi, thanks for replying, but I want it to start with full weight, means I want it to start with no empty space, this is the section code, thank you
{%- if section.blocks.size > 0 and section.settings.show_marquee_bar -%}
Powered by HuraTips.Com
{%- endif -%}
{% schema %}
{
"name": "Hura Marquee",
"settings": [
{
"type": "checkbox",
"id": "show_marquee_bar",
"label": "Show"
},
{
"type": "select",
"id": "direction",
"options": [
{
"value": "left",
"label": "Right to Left"
},
{
"value": "right",
"label": "Left to Right"
}
],
"default": "right",
"label": "Direction"
},
{
"type": "checkbox",
"id": "pause_on_hover",
"label": "Pause on hover"
},
{
"type": "text",
"id": "speed",
"label": "Speed",
"default": "15"
}
],
"blocks": [
{
"type": "header",
"name": "Message",
"settings": [
{
"id": "message",
"type": "textarea",
"label": "Message"
},
{
"type": "color",
"id": "colorBackground",
"label": "Background color",
"default": "#ffffff"
},
{
"type": "color",
"id": "colorText",
"label": "Text color",
"default": "#000"
}
]
}
],
"presets": [
{
"name": "Hura Marquee"
}
]
}
{% endschema %}
@PageFly-Victor can you please help with that
I fix it, and this is the code for anyone who interested in this section.
{%- if section.blocks.size > 0 and section.settings.show_marquee_bar -%}
{%- for block in section.blocks -%}
{{ block.settings.message }}
{%- endfor -%}
{%- for block in section.blocks -%}
{{ block.settings.message }}
{%- endfor -%}
Powered by HuraTips.Com
{%- endif -%}
{% schema %}
{
"name": "Hura Marquee",
"max_blocks": 1,
"settings": [
{
"type": "checkbox",
"id": "show_marquee_bar",
"label": "Show"
},
{
"type": "select",
"id": "direction",
"options": [
{
"value": "left",
"label": "Right to Left"
},
{
"value": "right",
"label": "Left to Right"
}
],
"default": "right",
"label": "Direction"
},
{
"type": "checkbox",
"id": "pause_on_hover",
"label": "Pause on hover"
},
{
"type": "number",
"id": "speed",
"label": "Speed",
"default": 25
},
{
"type": "number",
"id": "height",
"label": "Height",
"default": 40
}
],
"blocks": [
{
"type": "header",
"name": "Message",
"settings": [
{
"id": "message",
"type": "textarea",
"label": "Message"
},
{
"type": "color",
"id": "colorBackground",
"label": "Background color",
"default": "#ffffff"
},
{
"type": "color",
"id": "colorText",
"label": "Text color",
"default": "#000"
}
]
}
],
"presets": [
{
"name": "Hura Marquee"
}
]
}
{% endschema %}