Shopify themes, liquid, logos, and UX
Hi all,
I am using the Pipeline theme and I want to remove the page title from the Lookbook page template (example is this page: https://devangregori.com/pages/fw-20-lookbook)
I found this line of code on page.lookbook.liquid:
<h1 class="text-center h3 page__title" data-page-default-title>{{ page.title }}</h1
and added this directly below it:
{% unless page.handle == "page-title" %}
{{ page.title }}
{% endunless %}
There are three templates I'd like to remove page titles for any page attributed with that template which is why I'd like to remove it from the template code itself. Open to other suggestions however!
My site is: https://devangregori.com and the shopify URL is https://devan-gregori-studio.myshopify.com/
Thanks in advance,
Devan
Solved! Go to the solution
This is an accepted solution.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find layout/theme.liquid and paste this at the bottom of the file:
{% if page.handle == "fw-20-lookbook" %}
<style>
h1.title--overlay.h2 {
display: none;
}
</style>
{% endif %}
This is an accepted solution.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find layout/theme.liquid and paste this at the bottom of the file:
{% if page.handle == "fw-20-lookbook" %}
<style>
h1.title--overlay.h2 {
display: none;
}
</style>
{% endif %}
Amazing, this did the trick. Thank you so much for the help!
Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024