[resolved] Remove Title from each Showcase post (3 posts)

  1. J M
    Posted 3 years ago #


    I'm using a child theme of Twentyeleven. I'm using a static front page displaying Showcase but not Recent Posts. What I'd like to do is remove the titles from each post that shows in the scrolling Showcase, as our artwork already features the title.

    The site in question is http://hiphopinenglish.com

    Using Firebug, I've found the code I need to change/cancel out is h2, as I believe it's this heading that pulls the post title. However, I've not been able to confirm that, since I couldn't find it in showcase.php/page.php or even index.php. Any help massively appreciated. (I imagine this is an html tweak, but maybe there's a style solution via CSS that I can put in my Theme Extensions extra CSS space?)
    Thanks in advance. (Is anybody else interested in this? - Forum search yielded nothing!)

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    showcase.php has this line:

    get_template_part( 'content', 'intro' );

    which calls content-intro.php, so either look into that for the h2 title;

    or add this for instance to style.css of the child theme:

    .page-template-showcase-php h2.entry-title { display: none; }

  3. J M
    Posted 3 years ago #

    Many thanks for such a quick reply. I'll mark the issue resolved. For anyone else reading this, I used alchymyth's CSS suggestion and it worked.
    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic