The Grid line breaks in title tag

I’m using The Grid for a gallery and I’m trying to put line breaks in my item titles. So that english is on one line and Chinese is on the next line. This would be great for the sort filter as well.

I’ve tried putting <br> in the actual page title to see if that works but it doesn’t.

Please see the gallery on this page for reference. (hover over the image in the gallery)
http://dualvisual.com/prolit/projects/

Any assistance to this would be great - thanks.

Hi @romanaut,

Thanks for reaching out.

Unfortunately, there is no available option for that as of now. But you could try and follow this https://www.wpbeginner.com/plugins/how-to-split-post-or-page-title-in-wordpress/ instead. Though, it may not work in the grid as it has own way of displaying title and contents.

Thanks!

Thanks. I’ve tried it out but it doesn’t work with the Grid.

Thanks anyway.

Hi @romanaut,

Thanks for the confirmation!
However, there is no such solution for that except customising the Grid code.
You can take help from developer to do this.

Thanks for understanding!

Thanks. I found a solution.

I customised the skin and added the ‘page excerpt’ into the skin template to show the second line of text.

So that the skin has:
Post title (English)
Post excerpt (Chinese)

and then made them the same font size etc.

thanks.

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.