WordPress.org

Forums

Frontier
[resolved] Remove entry-header / title from home page only (6 posts)

  1. Ian Schoonover
    Member
    Posted 1 year ago #

    Hi Ron, I know you've already answered this question before and you even have a blog post on your site, but I still can't seem to identify the right class/id to get this to work. If you visit http://lawlerh2o.com/ you will see that there is no title above the post, but the issue is that there is still the vertical spacing. I can use .entry-header .entry-title {display:none;} to remove that vertical spacing/blank area, but then it removes the visible titles from the other pages. I tried adding .home to it, but that didn't work. My css / firebug skills are still a little weak, any help would be appreciated. Thanks!
    -Ian

  2. ronangelo
    Member
    Theme Author

    Posted 1 year ago #

    Strange, either of these codes should work and hide the title on the homepage.

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

    or

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

    You could try adding !important if nothing is taking effect.

    I also noticed that you have many elements with the same css properties. You can just combine them using a comma to minimize the code.
    Ex.

    #text-12,
    #text-13,
    #text-14,
    #text-15,
    #text-16,
    #text-17,
    #text-18 {
      background: none;
      padding: 0;
    }
  3. Ian Schoonover
    Member
    Posted 1 year ago #

    This worked. Thanks for the help Ron! My issue was I had added the .home to the end of the .entry-header >.< live and learn :)
    cheers!

  4. NOD Design
    Member
    Posted 11 months ago #

    Hi!

    I would like to remove HOME on the home page. I am using the Padhang theme. I tried the above solutions with no success. My website is rainbowmodellingagency.ca I am not the best with coding but if you explain step by step I should be able to pull it off. Thanks!

  5. NOD Design
    Member
    Posted 11 months ago #

    I figured it out thanks.

  6. ofukany
    Member
    Posted 2 months ago #

    Thanx ronangelo for your contribution very much.
    I have been just used ".home .entry-title {display: none;}" in style.css in the Twenty Fifteen theme (WP 4.1.) to hide the title on the homepage http://www.zsvazovova.sk.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.