Make Minimal Theme Homepage H1 Tag Different than Store Name

bgmemories
Tourist
12 0 1

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 

Replies 15 (15)

Ninthony
Shopify Partner
2330 350 1024

Open your header.liquid file in your Sections folder and scroll to around line 185:

Ninthony_0-1628193601700.png

Just delete {{ shop.name | escape }} and replace it with thatever you want.

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄
bgmemories
Tourist
12 0 1

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?

bgmemories
Tourist
12 0 1

Actually upon further review, Minimal Theme does NOT have a section subfolder of header.liquid

bgmemories
Tourist
12 0 1

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>

Ninthony
Shopify Partner
2330 350 1024

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>

 

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄
bgmemories
Tourist
12 0 1

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

g33kgirl
Shopify Partner
390 109 143

@bgmemories Minimal theme does have a header.liquid. It's under Sections

Screenshot 2021-08-06 at 1.47.02 am.png

You need to go to line 185 as suggested by @Ninthony and also line 228:

Screenshot 2021-08-06 at 1.45.50 am.png

If you found my answer helpful, please LIKE and ACCEPT.
buymeacoffee.com/g33kgirl
If you're not comfortable with code, please modify code files at your own risk.
bgmemories
Tourist
12 0 1

Thanks so much for helping, too, but my section folder is empty on Minimal 

Thoughts?

shop-minimal-sections-blank.jpg

Ninthony
Shopify Partner
2330 350 1024

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.

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄
bgmemories
Tourist
12 0 1

2014 when we opened

BowlingGreenMemories.com

Ninthony
Shopify Partner
2330 350 1024

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.

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄
bgmemories
Tourist
12 0 1

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

Ninthony
Shopify Partner
2330 350 1024

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.

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄
bgmemories
Tourist
12 0 1

OK, we'll cross that bridge as soon as time allows.

Thank you again for your time and assistance

Ninthony
Shopify Partner
2330 350 1024

Not a problem, feel free to reach out if you have any questions.

If my solution helped you, please like it and accept it as the solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish 😄