Daijoubu
Member
Posted 4 months ago #
Hi all,
I was wondering if someone could help me track down whatever code it is that makes project titles in the computer showcase automatically cut off after a certain character count? A lot of our titles are too long for the current character count, and I'd like them to be displayed in full :)
Thanks everyone!
-Matt
http://wordpress.org/extend/themes/showcase/
Daijoubu
Member
Posted 4 months ago #
Okay just solved this, with the fun new upshot that now text gets cut off by the extremities of overall navigation up there. I also now understand why the character count limit was in the template in the first place :P
For anyone interested <h1 class="mantle"><?php echo sc_string_limit_chars( get_the_title(), 20 ); ?></h1> is the line you're looking for it homepage.php
Now if I can just expand the text cut offs, if anyone has any ideas I'd love to hear them :)
jhampton
Member
Posted 4 hours ago #
I'm sure four months later you don't really need this anymore, but for anyone else with a similar problem - I just reduced the font size for the title. You can edit in the style.css file. Find this line:
body.page-template-homepage-php #mantle h1 {
font-family: 'LeagueGothicRegular';
font-weight: lighter;
font-size: 40px;
margin-top: 18px;
text-transform: uppercase;
}
And I changed the font-size to 20px. Worked for my purposes after I adjusted the character count limit.