• Hello all.

    Is there anyway to force a new line in the title of a post? My posts are sorted horizontally, and when some titles are 2 lines in length, and some are 1 line in length, it gets ugly. I would like to be able to insert a new line in the 1 line length titles so that everything lines up properly.

    Is this possible?

    Thanks for any help.

    https://www.otsumamimusic.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you set the width of the container the title is in, it will automatically wrap. Make sure the height of the container is not fixed, or a height that will accomodate the double lines.

    So the answer is yes.

    Open your style.css and find the style reference that encompasses your title. Make the changes there.

    If you “force” a <br /> line break into the title in the Write Post panel, you will have problems. That title input is used for the

    <title>Title of your Site and Post Title</title>

    in the <head> of your site using template tags and a line break will “break” the title and cause problems.

    Control the size of the container with the title and it will automatically wrap if necessary.

    Thread Starter Harvey

    (@harvey)

    Whooooops, sorry I wasn’t clear in this.

    Actually I was refering to the “title” for a post. Not the title for the actual HTML page.

    Just in case I trieed putting a br tag into the title of the post, but WordPress seems to have ignored it.

    Or maybe I understood the Lorelle’s answer incorrectly?

    Thanks for any additional assistance!

    -Harvey

    Thread Starter Harvey

    (@harvey)

    Excuse me for bumping the post, I guess the silence means that likely, this cannot be done right?

    If anyone runs across this thread and has an answer, please drop it in! Thanks for the help so far

    Thread Starter Harvey

    (@harvey)

    Got it.

    <BR />&nbsp;

    Inside the Title Does the trick!

    Harvey, you’re a prince. Now, I wonder if this works in taglines?…..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Line break in Title’ is closed to new replies.