Shopify themes, liquid, logos, and UX
How i can make the page title text in the center of the page only on specific pages?
https://www.tridentproducts.co.uk/pages/deal-town-rangers-fc
Solved! Go to the solution
This is an accepted solution.
Hi @hamzaabbas,
You can follow the instruction here:
1. Go to Shopify > Theme > Edit code > theme.liquid file
2. copy and paste this code before the </head> tag: https://prnt.sc/FbXi5VLql_lx
{% if page.id == 120651415818 %}
{% style %}
.main-page-title {
text-align: center !important;
}
{% endstyle %}
{% endif %}
Hi @hamzaabbas
Thanks for your questions, to resolve the query, you can follow the instruction here:
1. Go to Shopify > Theme > Customize > Custom CSS : https://prnt.sc/Voua7Py76UCg
2. Copy the code below and paste to the Custom CSS section > save
.main-page-title {
text-align: center !important;
}
I hope it helps
Avada team - Hana
Thank you for your response. I only want for few pages not on whole website pages.
Place that in pages where to place --> scroll down to custom liquid --> paste the code
Hi @hamzaabbas
Can you share with me these pages? I will provide you with solutions on it
This is an accepted solution.
Hi @hamzaabbas,
You can follow the instruction here:
1. Go to Shopify > Theme > Edit code > theme.liquid file
2. copy and paste this code before the </head> tag: https://prnt.sc/FbXi5VLql_lx
{% if page.id == 120651415818 %}
{% style %}
.main-page-title {
text-align: center !important;
}
{% endstyle %}
{% endif %}
Yes, it is working. Thank you
base.css
.main-page-title{
text-align:center;
}
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024