Break post title in 2 lines in a block

Posted in: Newspaper
Post count: 11

Hello I am using Block 24 on my home page.
My client writes about 2 different topics in each blog post.
So his titles need to have 2 lines, for example:

Brazil wins the world cup
Federer wins the US Open

I know he could just write:
Brazil wins the world cup – Federer wins the US Open

But he doesn’t want to do it like that, he needs two lines.

I tried using:
Brazil wins the world cup<br/>Federer wins the US Open

But it’s not working.

How can I solve this?
Thanks!

Post count: 35449

Hi,

It will not work in the title displayed in modules. You could read this topic for some solutions for this
https://forum.tagdiv.com/topic/break-post-title-in-2-lines/
Now the files can be found on this path -> wp-content/plugins/td-standard-pack/Newspaper/parts/single and for modules on this -> wp-content/plugins/td-standard-pack/Newspaper/includes/modules

Hope this will help you!
Thanks

Post count: 11

Hello, it works on the block.
For the single page, I made the change in all the files in wp-content/plugins/td-standard-pack/Newspaper/parts/single

If I set the “Style 1” post template, it works, however, if the post has the “From Panel” template, which is the default, it doesn’t work.

How can I make the change for the “from panel” template? Or how can I set the “Style 1” style as a default for all posts?

EDIT: I found how to change the default post template, it’s on Newspaper –> Theme Panel –> Post Settings –> Default Post Template.

Thanks!

  • This reply was modified 6 years by Blo.
Post count: 35449

Hi,

The default template then you need to edit this files to -> wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php

If you want all you post to have the same template, then all these need to be set from panel and in theme panel you select the post template you want to have.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.