A space to discuss online store customization, theme development, and Liquid templating.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, I have a problem with my coding, this appears to be mistaken!
<a href="{{ routes.account_url }}" class="navlink navlink--icon">
<span class="visually-hidden">{{ 'general.accessibility.my_account' | t }}</span>
{%- render 'icon-user' -%}
<a class="select-popout__option" href="/fr#" >
<span>FR</span>
<a>|</a>
</a>
<a class="select-popout__option" href="/#" >
<span>ENG</span>
</a>
</div>
Without a better description, or a publicly accessible example for others to inspect,
The only things that stands out is you have an anchor tag nested within another anchor tag.
Replace <a>|</a> with <span>|</span>
And make sure that final </div> has a matching <div> somewhere earlier in the code/file.
Good Hunting.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
No pictures were attached, or made it through.
If your editing the code already try to add the full route to those links
{% assign full_url = request.host | append: request.path %}
{{ full_url }}
This of course will still reload the page, nor does it account for any possible javascript, or app that may be involved. Those would be advanced customizations if possible at all for your setup.
That last part about where and how things should appear is separate from the core issue and the description is confusing.
Regardless moving things around into other parts of the UI requires an advanced theme customization.
If you need this dug into and customized then contact me directly by email for services.
Please always provide context, examples: store url, theme name, post url(s) , or any further detail.
Contact Info in signature.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org