Coding Question

New Member
2 0 0

Hello Shopify Community,

 

I use the template called Minimal and I'd like to make a simple change to the title on one of my pages. I'd like to italicize the title of the page.  See here:  https://www.supportcannabisresearch.com/pages/journal-of-cannabis-research

 

There is not the option to do so, like there is for the text in the content box .  Also, there is no option to see the HTML for the title box, as there is for the content box.

 

Where would I find the code for the title box?  And, is it possible to just change the code for this one page (without affecting all the other pages)?

 

Thank you.

 

0 Likes
Highlighted
Astronaut
874 104 194

Yup, not a problem. You can go into your page.liquid file in your assets folder and put this code at the top of the code:

 

{% if page.handle == "journal-of-cannabis-research" %}
<style>
.section-header--title{
font-style: italic;
}
</style>
{% endif %}

Should be good to go :D

If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes
New Member
2 0 0

Thank you!  I'll give that a try.  

0 Likes