WordPress.org

Ready to get started?Download WordPress

Forums

Showcase
Wanting to extend project titles on home page showcase (4 posts)

  1. Daijoubu
    Member
    Posted 2 years 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/

  2. Daijoubu
    Member
    Posted 2 years 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 :)

  3. jhampton
    Member
    Posted 2 years 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.

  4. rollybueno
    Member
    Posted 2 years ago #

    @Daijoubu,

    I've done it by removing second argument.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic