• Hi guys I’ve tried 5 different ways to remove the page title for the page and none worked. Like the last guy said seems pointless clicking on the menu title then seeing it again in bold taking up space

    can anyone help please?

    http://www.samanthajpenman.co.uk

    cheers

Viewing 15 replies - 1 through 15 (of 17 total)
  • First of all, if you use as custom menu your navigation label (what it says in the menu) doesn’t have to be the title of the page. It also means you can control what goes into the menu (i.e. you don’t just get every page, in alphabetical order). The default menu is seldom what you want, for long, anyway.

    Second, having a page header is good for SEO (if it describes your page, obviously).

    Third if you really must get rid of it, in your child theme’s style.css file, add this rule:

    #content .entry-title {
      display: none;
    }

    You are using a child theme, aren’t you? Directly modifying a default theme is not good. See esmi’s many posts on the subject.

    Thread Starter cke11y

    (@cke11y)

    Hi, peredur that worked – but too well!
    It removed all titles including every title of all my blog articles.

    I just want to remove the repeat titles from my static pages

    cheers

    You need something like:

    body.category .entry-title {
      display: block;
    }

    I think.

    And as I said, these are not repeat titles. You have left your menu in its default state and so it is using the page titles as the navigation label, because you haven’t told it anything else. This does not have to be the case. For example, see:

    http://www.yorkshiredalesphotography.co.uk/wp/

    The menu item is ‘Home’, but the page title is: “Showcasing the beautiful scenery of the Yorkshire Dales”. The navigation label is for navigation (usability), the title is to describe the page (for usability and SEO).

    HTH

    PAE

    Thread Starter cke11y

    (@cke11y)

    That didn’t work at all.

    I know all about SEO – I wasn’t asking about that.

    Try this instead of the first rule I gave you:

    body.page .entry-title {
      display: none;
    }

    I’m trying to make it specific to pages.

    Cheers

    PAE

    Thread Starter cke11y

    (@cke11y)

    Nope that didn’t work either – cheers

    My SEO is taken care of by the blog.

    I have 3 static pages that i want to remove the title from,

    cheers
    Craig

    My bad, I think

    You’ll need:

    body.page #content .entry-title {
      display: none;
    }

    Let’s see if that’s any good…

    If it doesn’t work, can you leave it in place so that I can try to see what’s going on (using Firebug)?

    PAE

    Thread Starter cke11y

    (@cke11y)

    Sorry no that didn’t work either πŸ™‚

    Where are you adding the new rule? Did you leave it in your stylesheet for me to have a look at?

    Cheers

    PAE

    Thread Starter cke11y

    (@cke11y)

    Just used firebug
    this is the line i want to remove but I can’t find it

    <h1 class=”entry-title”>title</h1>

    You probably don’t want to remove that line. What you want to do is to make it invisible.

    Where did you put the style rule I suggested to you. It’s not in the style sheet as far as I can see.

    Cheers

    PAE

    Thread Starter cke11y

    (@cke11y)

    I tried all the rules you gave me at the bottom of the style sheet, when they didn’t work I removed them.

    I dont know how to create child themes yet – I will by tomorrow though

    cheers

    If you insist on messing about with the PHP of a default theme, then you probably want to look at loop-page.php.

    Cheers

    PAE

    If you remove them, I can’t help you, because I can’t see what’s going on.

    Cheers

    PAE

    Thread Starter cke11y

    (@cke11y)

    I haven’t insisted on anything………do you want me to put all of the rules that you sent me back in the style sheet?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Delete page titles from pages – twent ten’ is closed to new replies.