Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Trying to hide the title

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35943
    angelazou
    Participant

    I’m having another selector problem, I’m trying to hide the page title on the home page, and I’ve tried so many combinations, none of them works. This is the HTML






    Home Page







    and I’ve tried the following selector combination

    • body.home h1.postTitle
    • body.home h1.postTitle a
    • body.page-id-283 h1.postTitle
    • body.page-id-283 h1.postTitle a
    • .post-283 h1.postTitle
    • .post-283 h1.postTitle a
    #93896
    mwdewitt
    Member

    I do not fully understand what you are trying to do, but if you are trying to get rid of the title for a blog, which is what it appears you are trying to do, then you can try this…

    Place this in your header…

    This allows it so that you can place a logo where the title should be. Then in your CSS, do this…

    #logo {
    width: size;
    height: size;
    float: left;
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-position: left top;
    }

    a#logo:hover {
    background-color: transparent;
    }

    #logo h1 {
    margin-left: -9999px;
    color: #000000;
    }

    And that should get rid of your title, allowing you to place a logo.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.