Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24840

    Under a blog title is the “date/comments/category/author” text content. How do you hide that line on ONLY the home page?

    #124943

    Hi,

    Please add this on your custom.css

    .home .post-meta-infos {
    display: none;
    }

    OR

    Inspect your homepage using Chrome. Click Inspect Element, scroll to the <body> tag. Look for something like this inside the body tag.

    class="page page-id-1122

    .page-id-1122 is the unique body class of your homepage. Add this on your custom.css

    .page-id-1122 .post-meta-infos {
    display: none;
    }

    Your home page id might be different from mine. Please check yours.

    Regards,

    Ismael

    #124944

    Neither worked. The code was added to Enfold / Styling / Quick CSS. Is this the correct place? Page IDs were easily found. Other ideas?

    #124945

    Hi,

    Like I said, my page id might be different from your page id. Please change that. Try this code. This will remove the meta infos all over the site.

    .post-meta-infos {
    display: none;
    }

    Please give us a link to your site.

    Cheers,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Hiding the blog post date/comments/category/author text on home page only’ is closed to new replies.