Liquid, JavaScript, themes, sales channels
Hi,
I was adding the logo bar section from this tutorial to my Prestige theme, but it´s left aligned, not centered as intended.
I have searched the forum and tried all kinds of different code snippets already, but nothing worked.
Help is appreciated, thank you
Solved! Go to the solution
This is an accepted solution.
Hi @LachendeKoralle,
Please change the code:
<h2>{{ section.settings.title | escape }}</h2>
=>
<header class="SectionHeader SectionHeader--center"><h2 class="SectionHeader__Heading Heading u-h1">{{ section.settings.title | escape }}</h2></header>
Hope it helps!
hii, @LachendeKoralle
Kindly share your store URL and a screenshot of your problem so,
I can solve your problem perfectly.
Thank You.
Hi @LachendeKoralle,
Please change the code here: https://i.imgur.com/wPV29KM.png => https://i.imgur.com/6gpHyUS.png
Code:
<ul style="text-align: center;">
Hope it helps!
Hi @LitExtension , it worked for the logo icons, but not for the headline
Could you kindly share a code for how I can get the headline centered, too?
Thank you so much!
This is an accepted solution.
Hi @LachendeKoralle,
Please change the code:
<h2>{{ section.settings.title | escape }}</h2>
=>
<header class="SectionHeader SectionHeader--center"><h2 class="SectionHeader__Heading Heading u-h1">{{ section.settings.title | escape }}</h2></header>
Hope it helps!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024