Remove author and date; Designfolio theme

  • Unknown's avatar

    I’d like to remove the author, date & category from my blog posts; anyone have custom CSS to do this? I’ve tried everything I can find to no avail, I’m assuming I need something that will specifically work with the Designfolio theme I have.

    Thanks.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,
    To hide the author, category and the date just use the display CSS property and set it to no. CSS codes are given below

    HIDE THE CATEGORY:

    .post-meta span.categories {
        padding-right: 5px;
        display: none;
    }

    HIDE AUTHOR:

    p.author {
        display: none;
    }

    HIDE DATE:

    .post .post-date {
        display: none;
        font-size: 18px;
        font-weight: bold;
        line-height: 1.2rem;
        text-align: center;
        width: 60px;
        height: 60px;
        padding-top: 12px;
        margin: 5px 0 0;
        -moz-border-radius: 30px;
        -webkit-border-radius: 30px;
        border-radius: 30px;
    }

    In your theme… the posts are moved to the right by 80px due to the positioning of date and the author. The current CSS code for the post is this:

    .post-content {
        padding-left: 80px;
    }

    Now that you have removed the date and the author you no longer need that 80px space, so remove that by editing the CSS to look like this:

    .post-content {
        padding-left: 0px;
    }

    Hope this helps :)

  • Unknown's avatar

    Perfect. Thank you so much for your help!!

  • Unknown's avatar

    Glad i could help. All the best :)

  • The topic ‘Remove author and date; Designfolio theme’ is closed to new replies.