Support » Theme: Prana » Can you put spaces bewteen letters and words in a post title?

  • I”m using Prana, which is great. I want to make my post titles a little more distinctive, i.s.,

    R E C E N T <space space> A R T I C L E S

    instead of

    R E C E N T A R T I C L E S
    or
    Recent Articles.

    Can’t get spaces to stay between the words, though. any suggestions? is there a way to change the style sheets for post titles in this way?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You should avoid modifying theme files directly – as changes will be lost when the theme is updated. Instead use a child theme or custom CSS plugin.

    As to the specific CSS to ADD to either of the above, no way to help with that without seeing your site. You should be able to use a browser tool like Firebug to see what CSS to use on that element.

    Thread Starter hitsville

    (@hitsville)

    Hey thanks; i’m sort of a beginner, so forgive the naivete of this question. Is there a simple HTML code to force a space or two between words?

    No, spacing is set by CSS :

    http://www.w3schools.com/cssref/pr_text_word-spacing.asp

    http://www.w3schools.com/cssref/pr_text_letter-spacing.asp

    It’s not hard to do, but you should use a custom CSS plugin to make changes so you don’t have a mess when the theme is updated.

    Oh wait a sec, yes, if you mean in the post titles you are entering, you can use &nbsp; to put an extra space wherever you want – see if that works.

    Thread Starter hitsville

    (@hitsville)

    Hey thanks for taking the time to write. Doesn’t seem to work:

    http://www.billwyman.net/

    I”ll keep investigating!

    Ah, sorry, I guess that field won’t take HTML. Try adding this in a custom CSS plugin:

    .entry-title {
        letter-spacing: 0.2em;
        word-spacing: .5em;
    }

    Adjust those em’s according to what you like.

    Thread Starter hitsville

    (@hitsville)

    You are a genius… exactly what I was looking for, thanks very much.

    It’s funny: I couldn’t get it to work at first, but it turned out it was because I had put spaces between each letter in the original title of the post, so of course the plugin treated each letter as a separate word. Once I figured that out i got the spacing just as I wanted it.

    Thanks again.

    Awesome – you got it sorted the way you want :)!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can you put spaces bewteen letters and words in a post title?’ is closed to new replies.