• Resolved TerryMitchell

    (@terrymitchell)


    Having real trouble getting this to work on my localhost setup, any ideas why? I have my front page set to show a static page and I’d like to remove the entry title from that page/post only.

    .home .entry-title {
       display: none;
    }

    Tried the above code with no luck. I also tried using the actual post’s class as follows:

    .post-4 .entry-title {
       display: none; !important
    }

    I’m using Twenty Twelve.Any advice welcomed and no links available as it’s local.

    Many thanks in advance

    Terry

Viewing 3 replies - 1 through 3 (of 3 total)
  • .home .entry-title should have worked.

    generally, try using a browser inspection tool such as Firebug to identify which styles are formatting the entry title;

    and always clear the browser cache after changes to the stylesheet.

    Thread Starter TerryMitchell

    (@terrymitchell)

    Many thanks for getting back to me Alchymyth, I know – it’s strange. It seems I have ‘ghosts in the machine’. I’m already doing all of the above, it’s obviously human error on my behalf but I just can’t seem to suss it out. I’ll get there eventually.

    Thanks again!!

    Thread Starter TerryMitchell

    (@terrymitchell)

    Managed to work around it by associating a different ‘page-content’ file with my home page and removing the header entry there. But if anyone can come up with any ideas as to why the CSS option wasn’t working I’d be very interested.

    Thanks

    Terry

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TwentyTwelve: Remove entry title from home page ONLY’ is closed to new replies.