Skip Navigation

blog description length

Travel Forums System Talk blog description length

1. Posted by cyclesandskis (First Time Poster 1 posts) 5y Star this if you like it!

I would like to make the Blog Description longer.
I figured out how to make more space for it in the template it self but i can not figure out how to ad more words....
Any help?

2. Posted by Sander (Moderator 5174 posts) 5y Star this if you like it!

That field unfortunately has that maximum length (255 characters) in the database, so it's not possible to store more text.

What some people do is to create an introductory blogpost, whose date and time they always update to be the most recent one, so that it always shows up at the top. Alternative, you could use CSS in a kinda hacky way to create extra text. The way to do that, is to look for the "#description" rule in your stylesheet, and add an :after pseudo-element with a content property. I can't customize this for your blog, as you've password protected it, but for example the "Scribble" template has the following rule:
#header p#description {padding:.4em 0 0 30px;font-size:1.1em;font-style:italic;}
On the next line, I added:
#header p#description:after { content: " | <- Everything from that pipe character onward is created purely by CSS. This has some limitations - specifically that it can't be read by search engines or speech browsers (so is completely inaccessible to any blind visitors), and can't be easily selected or copied by visitors."; }
And that shows up like this: (Note that I didn't bother creating extra space for this text, so it just overlaps the background image.)

[ Edit: Edited on 29-Dec-2012, at 14:17 by Sander ]