Shopify themes, liquid, logos, and UX
Hello -
Hoping somebody can assist us on creating a unique Store Name and homepage H1 tag using Minimal Theme.
Currently, the store name is populating the homepage H1 tag as an alt text to the BG Memories logo atop the homepage. I don't mind the H1 = the logo, but I do want it to be unique compared to the Store Name.
Store Name: BG Memories Apparel | BGSU T-shirts
H1 Homepage: Shop BGSU Falcons Apparel
Anybody have any insights? I'm guessing an edit will need to be made in liquid.theme or something.
I'm slightly below average in coding edits, but have made updates to liquid before and above average in SEO optimization.
Thank you,
BG Memories
Open your header.liquid file in your Sections folder and scroll to around line 185:
Just delete {{ shop.name | escape }} and replace it with thatever you want.
Thanks for the quick reply Ninthony
So, when I strip out {{ shop.name | escape }} just be sure to keep new H1 tag within the quotations, correct?
Actually upon further review, Minimal Theme does NOT have a section subfolder of header.liquid
i did find this code snipper in theme.liquid
<div id="transparency" class="wrapper">
<div class="row">
<!-- Begin right navigation -->
{% if settings.navigation_alignment == "right" %}
<div class="row" id="header">
<div class="span12 border-bottom">
<div class="span4 inner-left logo-wrapper">
<div class="logo">
{% if settings.use_logo %}
<a href="/"><img src="{{ 'logo.png' | asset_url }}" alt="{{ shop.name }}" /></a>
{% if template == 'index' %}
<h1 style="display:none"><a href="/">{{ shop.name }}</a></h1>
{% endif %}
{% else %}
<h1><a href="/">{{ shop.name }}</a></h1>
{% endif %}
</div>
Weird, I just installed Minimal and that's where I had to go. Anyway, same idea, just change what is in the quotes in the alt attribute
<a href="/"><img src="{{ 'logo.png' | asset_url }}" alt="whatever you want" /></a>
Thanks again for the time. It didn't work just replacing the one
What about these other two fields where "store name" is bracketed
Does what I want go within the brackets or delete the brackets and just add between carrots?
<h1 style="display:none"><a href="/">{{ shop.name }}</a></h1>
{% endif %}
{% else %}
<h1><a href="/">{{ shop.name }}</a></h1>
Update: i tested updating all three fields, still pulling in store name as H1
@bgmemories Minimal theme does have a header.liquid. It's under Sections.
You need to go to line 185 as suggested by @Ninthony and also line 228:
Thanks so much for helping, too, but my section folder is empty on Minimal
Thoughts?
That's certainly odd. When did you install Minimal? This seems to be an unusual case. I can request access to your themes and take a look for you if you'd like. I'll just need a store url so I can request access.
2014 when we opened
BowlingGreenMemories.com
Oh, that's probably your problem right there. I'd suggest downloading it again and configure it to your liking, there's likely many more options that you don't have in the updated theme. I'll request access and try to get this figured out for you. You'll get an email in whatever email you have associated with your account to approve or deny me.
ahhhh that'll do it ... if one downloads it again, do you have to customize it or will also previous displays work the same?
I do appreciate you offering to dig in more, but - no offense - I'm not comfortable sharing access at this time.
My business partner and I do this as a side business and try to keep access limited 🙂
hope you understand
and thank you so much for taking a peek
That's fine, I understand. You'll have to customize everything again after downloading the updated theme, you can just work on it when it's an unpublished theme and when all the changes are made just publish it.
OK, we'll cross that bridge as soon as time allows.
Thank you again for your time and assistance
Not a problem, feel free to reach out if you have any questions.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024