What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How to add more text under the blog category title in California theme?

Solved

How to add more text under the blog category title in California theme?

Luc8k
Excursionist
15 0 5

Hi there,

 

I would like to add text under the blog posts category title. How can I do that? I added a text box, but when I pull it above the category, the text shows of course, above the title. When it is under the "Blog" then it is on the bottom under all posts in that category! A link to see https://luc8k.com/blogs/general-news

 

Thanks so much for your time and help

 

Cheers

 

Screenshot 2023-05-05 at 11.37.17.png

Accepted Solution (1)

Choong_HueApps
Shopify Partner
163 9 16

This is an accepted solution.

This is due to the theme design is not taking in consideration of situation like this. Our blog filter app also constantly bump into this issue, which creates a really weird content hierarchy.

 

Some possible solutions (both require tinkling with the code)

 

If you are familiar with code, you can manually insert the paragraph into the liquid file (with <p> and <h1> tags etc), it requires some digging as to where / which file to insert. The downside is that it is harder to maintain, as you need to go into the code to update.

 

Another way (multi steps):

1. Go to your theme code - look for the blog liquid file, and identify the piece of code that generates the blog title (ie Latest News in your screenshot).

2. Copy that code, before commenting them out with {%comment%} {%endcomment%}

3. Your blog title should now be hidden.

4. Go back to your theme customiser, add a Custom Liquid block and insert the code copied in step 2 above, make sure it is above the Blog block. This will add the blog title back.

4. Now you can add the Custom Content block below this Custom Liquid block.

 

Below is a screenshot. Note your files/ codes might look different as it is a different theme from mine.

 

Choong_HueApps_0-1683473446471.png

 

Blog Articles Filter & Search PRO ➜ Blog Article Tag filters + Blog Article search + Featured Articles for Shopify blog.


View solution in original post

Replies 2 (2)

Choong_HueApps
Shopify Partner
163 9 16

This is an accepted solution.

This is due to the theme design is not taking in consideration of situation like this. Our blog filter app also constantly bump into this issue, which creates a really weird content hierarchy.

 

Some possible solutions (both require tinkling with the code)

 

If you are familiar with code, you can manually insert the paragraph into the liquid file (with <p> and <h1> tags etc), it requires some digging as to where / which file to insert. The downside is that it is harder to maintain, as you need to go into the code to update.

 

Another way (multi steps):

1. Go to your theme code - look for the blog liquid file, and identify the piece of code that generates the blog title (ie Latest News in your screenshot).

2. Copy that code, before commenting them out with {%comment%} {%endcomment%}

3. Your blog title should now be hidden.

4. Go back to your theme customiser, add a Custom Liquid block and insert the code copied in step 2 above, make sure it is above the Blog block. This will add the blog title back.

4. Now you can add the Custom Content block below this Custom Liquid block.

 

Below is a screenshot. Note your files/ codes might look different as it is a different theme from mine.

 

Choong_HueApps_0-1683473446471.png

 

Blog Articles Filter & Search PRO ➜ Blog Article Tag filters + Blog Article search + Featured Articles for Shopify blog.


Luc8k
Excursionist
15 0 5

Thanks so much Chong, I will try this tomorrow first thing. I will see if that works.

many thanks again for your time and help 😄

 

Cheers