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.
User | RANK |
---|---|
141 | |
113 | |
79 | |
64 | |
63 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023