This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Hiding Page Title on Posts

  • Creator
  • #11565

    Hi there, I have a question. I use an h2 in the first line of my blog posts for CEO purposes. This heading has the keywords for the post that match the keywords in the post title. Unfortunately, when I do this, the result is that The Page Title and the heading line (which are almost identical) show up on the published page. This makes the post look goofy to the reader.

    (Evidently, not for the bots who rank the page though). Is there a way to force all posts to a particular page so that I can hide the page’s title?

    Thanks, in advance, and keep up the great work with your themes.

    Jim Herrera

Viewing 1 replies (of 1 total)
  • Author
  • #11579
    Jason Bobich

    Hello Jim,

    If you wanted to just hide the title with CSS, you could do that. —

    For CSS changes, it’s a good idea to use a tool like firebug or Google Chrome’s built-in developer tools to locate them and then put the edits either in your child theme or in the “Custom CSS” option on your theme options page.

    So, for example:

    .single-post h1.entry-title { display: none; }

    Also, here’s a helpful tutorial on how to use Firebug – The only thing I’d suggest not doing is actually making edits to the theme’s CSS files, as it shows at the end of that video. However, the video serves as a good introduction to Firebug and how it can be used to find what CSS is effecting certain areas of your site without ever digging around in any files.

    And if you wanted to actually edit the HTML markup, you could do that by copying content.php to your child theme and making the edits you want.

    Here’s more on template parts:

Viewing 1 replies (of 1 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.