Changing All Caps Blog Titles To First Letter Caps
Changing All Caps Blog Titles To First Letter Caps
All my blog titles are written in ALL CAPS and there are literally thousands. Is there any way to change the title automatically to just having the first letter of each word in caps?
E.g. change ‘MY BLOG TITLE’ to ‘My Blog Title’ for all my blog titles
Changing them all manually would take far too long. Thought someone on here might know a quick solution with Serendipity.
Thanks for any suggestions
E.g. change ‘MY BLOG TITLE’ to ‘My Blog Title’ for all my blog titles
Changing them all manually would take far too long. Thought someone on here might know a quick solution with Serendipity.
Thanks for any suggestions
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
Re: Changing All Caps Blog Titles To First Letter Caps
The easiest/quickest way is to edit your stylesheet and add to your h1.
Code: Select all
text-transform:capitalize;
Steve is occasionally blogging here
Re: Changing All Caps Blog Titles To First Letter Caps
... if your entry title is in fact a h1.sonichouse wrote:The easiest/quickest way is to edit your stylesheet and addto your h1.Code: Select all
text-transform:capitalize;
It really depends on your template, but usually
Code: Select all
.serendipity_title { text-transform: capitalize; }
YL
Re: Changing All Caps Blog Titles To First Letter Caps
Thanks sonichouse. However the title remains the same when I add that to the CSS file.sonichouse wrote:The easiest/quickest way is to edit your stylesheet and addto your h1.Code: Select all
text-transform:capitalize;
Code: Select all
#serendipity_banner h1 {
text-transform:capitalize;
}
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Re: Changing All Caps Blog Titles To First Letter Caps
Hi Yellowled thanks.yellowled wrote:... if your entry title is in fact a h1.sonichouse wrote:The easiest/quickest way is to edit your stylesheet and addto your h1.Code: Select all
text-transform:capitalize;
It really depends on your template, but usually
is more likely to work.Code: Select all
.serendipity_title { text-transform: capitalize; }
YL
This just changes the title above the blog post, not the banner title and more importantly the title in my browser menu bar.
However because my title is all caps already using capatalize will have no effect. I was wanting the title in title case ie 'My Blog Title' not 'MY BLOG TITLE'
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
Re: Changing All Caps Blog Titles To First Letter Caps
Can you post a link to your site ?Maccsta wrote:However because my title is all caps already using capatalize will have no effect. I was wanting the title in title case ie 'My Blog Title' not 'MY BLOG TITLE'
Might be easier to diagnose
You may need to edit the index.tpl to add
Code: Select all
capitalize:true
e.g.
Code: Select all
<title>{$head_title|@default:$blogTitle|capitalize:true} {if $head_subtitle} - {$head_subtitle|capitalize:true}{/if}</title>
Steve is occasionally blogging here
Re: Changing All Caps Blog Titles To First Letter Caps
You can simply change the blog title in your admin backend. "Administration/Configuration" -> "General settings" -> "Blog name" (and optionally "Blog description").Maccsta wrote:I was wanting the title in title case ie 'My Blog Title' not 'MY BLOG TITLE'
If those are not in capital letters, your template is modifying them. In that case, you're gonna have to modify your index.tpl the way sonichouse pointed out.
YL
Re: Changing All Caps Blog Titles To First Letter Caps
Thanks sonichouse. Only just come back to this because these changes weren't top priority, but I was able to achieve what I wanted with:sonichouse wrote:Can you post a link to your site ?Maccsta wrote:However because my title is all caps already using capatalize will have no effect. I was wanting the title in title case ie 'My Blog Title' not 'MY BLOG TITLE'
Might be easier to diagnose
You may need to edit the index.tpl to addas a smarty modifier to the title block - although I haven't tested this myself.Code: Select all
capitalize:true
e.g.Code: Select all
<title>{$head_title|@default:$blogTitle|capitalize:true} {if $head_subtitle} - {$head_subtitle|capitalize:true}{/if}</title>
Code: Select all
<title>{$head_title|@default:$blogTitle|lower|capitalize:true} {if $head_subtitle} - {$head_subtitle|lower|capitalize:true}{/if}</title>
Thanks again
Check out this blog today!
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
Buy Eye Secrets strips.
Best devices reviewed at http://www.penisstretchers.org/.
Order Capsiplex slimming pills today.
Buy Meratol diet pills online.
-
- Regular
- Posts: 196
- Joined: Sun May 11, 2008 2:53 am
- Contact:
Re: Changing All Caps Blog Titles To First Letter Caps
No problem, glad it helped, looks like you have hit the nail on the headMaccsta wrote:Thanks sonichouse. Only just come back to this because these changes weren't top priority, but I was able to achieve what I wanted with:
I added "lower" smarty command and was able to turn the title to lowercase and "capitalize" gave me title case.Code: Select all
<title>{$head_title|@default:$blogTitle|lower|capitalize:true} {if $head_subtitle} - {$head_subtitle|lower|capitalize:true}{/if}</title>
Thanks again
Steve is occasionally blogging here