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!
Hi, can I ask about this again as I can't see where to do it in Prestige 7.3.6. In the Logo list section, the title is centred but logos are not. I have 11 logos to display, the bottom row of 5 is left aligned.
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