Post titles in Mindstream?

Community Forums Forums Design Tips and Tricks Post titles in Mindstream?

This topic is: resolved

This topic contains 8 replies, has 5 voices, and was last updated by  WMcKinley 1 year, 6 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #28522

    enmaku
    Participant
    Post count: 2

    I really like the Mindstream theme but I’m not in love with the fact that post titles aren’t displayed in the timeline or in posts themselves. Is there an easy (functions.php or easier) way to put them back in?

    #28524

    Pinky
    Participant
    Post count: 95

    You should be able to find what you need here:

    http://my.studiopress.com/snippets/


    cheers

    Pinky

    #28525

    enmaku
    Participant
    Post count: 2

    Not finding anything about post titles Pinky. Page titles, post authorboxes etc are all there, and google shows me how to *remove* the title from posts but not how to put it back when someone else has already removed it…

    #28527

    Pinky
    Participant
    Post count: 95

    Ah soz about that…. try this then:

    In the functions.php file remove this – obviously take a backup copy first!…

    [php]

    add_action( ‘genesis_before_post’, ‘mindstream_remove_elements’ );
    /**
    * If post has post format, remove the title, post info, and post meta.
    * If post does not have post format, then it is a default post. Add
    * title, post info, and post meta back.
    *
    * @since 1.0
    */
    function mindstream_remove_elements() {

    // Remove if post has format
    if ( get_post_format() ) {
    remove_action( ‘genesis_post_title’, ‘genesis_do_post_title’ );
    remove_action( ‘genesis_before_post_content’, ‘genesis_post_info’ );
    remove_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ );
    }
    // Add back, as post has no format
    else {
    add_action( ‘genesis_post_title’, ‘genesis_do_post_title’ );
    add_action( ‘genesis_before_post_content’, ‘genesis_post_info’ );
    add_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ );
    }

    }
    [/php]


    cheers

    Pinky

    #28529

    enmaku
    Participant
    Post count: 2

    That appears to have done the trick  - well, after I noticed that I’d missed deleting the add_action line along with the rest of it anyway ;)

    Thanks!

    #28530

    Pinky
    Participant
    Post count: 95

    no worries Mate… glad I could help!


    cheers

    Pinky

    #29487

    rb5235
    Participant
    Post count: 2

    Hi Pinky,

    I to wanted the post titles back and found that what you pointed out above to remove in the functions.php file worked fine.

    Now I would like to make the title font a little smaller it is displaying as a H1. Could you point me it the right direction to set it to a H2 or H3.

    http://www.ronaldbigbie.com

    Thanks for any help!

    #29547

    macarena61
    Participant
    Post count: 2

    Hi Pinky,

    Just as rb5235, I also want to reduce the font title as it is very large compared to the rest of the layout. I had thought it was the

    #title {
        font-size: 42px;
        font-size: 2.625rem;

    }

    and reduced it to 28px and 1.75rem

    I also reduced the

    h1,
    .entry-title,
    .entry-title a {
        font-size: 36px;
        font-size: 2.25rem;
    }

    to: font-size: 20px;
        font-size: 1.25rem;

    but that didn’t work either… could you kindly point us in the right direction? Thank you, much appreciated!

    #29551

    WMcKinley
    Participant
    Post count: 31

    Hi,
    On line 591 of your style.css I changed the font size from 48px to 36px and it worked fine.

    Everyone should be using FireBug!


    W. McKinley – WMcKinley.comPowerEmini.com – Genesis Novice

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.