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.
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024