• WordPress.com
  • Forums
  • Plans & Pricing
  • Log In
  • Get Started
  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • Enterprise
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • WordPress.com Support
  • News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Popular Topics
  • Daily Webinars
  • Learn WordPress
Get Started
  • Sign Up
  • Log In
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • Enterprise
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Support
  • News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Popular Topics
  • Daily Webinars
  • Learn WordPress

WordPress.com forums

Get help with WordPress.com, the free blogging platform, and the WordPress.com apps.

en WordPress.com Forums Duet theme – hide post date

Duet theme – hide post date

  • aranyhiuz · Member · Jan 11, 2014 at 10:31 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi, how can I hide post dates under Duet?

    Demo site here

    I have tried the following codes:

    /* Hide post date */
    article.post .post-title h4 {
    visibility: hidden;
    }

    and

    .post-title h4 {
    visibility: hidden !important;
    }

    But in the preview it had to effect. I don’t have neither the theme nor the custom CSS upgrade yet, but it should appear in the preview anyway, shouldn’t it?

    Thanks in advance!

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

  • justpi · Member · Jan 11, 2014 at 10:48 pm
    • Copy link Copy link

    The wordpress.com demo is this:
    http://duetdemo.wordpress.com/

    To remove the date and the dotted lines, you’d add this:

    .post-title {
    border: 0 none;
    }
    .post-title h4 {
    display: none;
    }
  • aranyhiuz · Member · Jan 11, 2014 at 10:53 pm
    • Copy link Copy link

    Thanks very much, it’s ok now!!

  • justpi · Member · Jan 11, 2014 at 10:54 pm
    • Copy link Copy link

    You’re welcome.

  • aranyhiuz · Member · Jan 12, 2014 at 2:05 am
    • Copy link Copy link

    And how can I delete the comment counter from the entry footer?

  • justpi · Member · Jan 12, 2014 at 4:36 am
    • Copy link Copy link

    Add this:

    .entry-footer .alignleft {
    display: none;
    }

    But then the rest of the entry footer will look misaligned, so I’d probably center it:

    .entry-footer {
    padding-bottom: 22px;
    }
    .entry-footer .alignright {
    float: none;
    margin: 0;
    text-align: center;
    text-indent: 0;
    }
  • aranyhiuz · Member · Jan 12, 2014 at 11:10 am
    • Copy link Copy link

    Hm, I would like to make it disappear from next to the “Read more” link on the front page, but after saving this code, it remains the same. Anyway, I really appreciate your help!

  • justpi · Member · Jan 12, 2014 at 12:29 pm
    • Copy link Copy link

    The code I suggested has not been saved in your custom CSS, so try again please.

  • aranyhiuz · Member · Jan 12, 2014 at 12:58 pm
    • Copy link Copy link

    I removed the code, but put there again. It definitely does something, because the comment counter is in one line with the more tag now, and it’s beautiful, so I’m OK with it.

  • justpi · Member · Jan 13, 2014 at 4:01 am
    • Copy link Copy link

    You added the code that centers the read-more link but omitted the code that removes the comment link. Quoting myself:

    Add this:

    .entry-footer .alignleft {
    display: none;
    }
  • aranyhiuz · Member · Jan 13, 2014 at 7:46 pm
    • Copy link Copy link

    Ah, my mistake, your solution is perfect, thanks again! (But I like it more this way, with comment counter and centered more tag.) Sorry for being so blonde.

  • The topic ‘Duet theme – hide post date’ is closed to new replies.

Tags

  • CSS
  • duet
  • Hide
  • post date
  • theme

About this topic

  • In: CSS Customization
  • 2 participants
  • 10 replies
  • Last activity 11 years
  • Latest reply from aranyhiuz
Advertisment

WordPress.com

WordPress.com WordPress.com Logo

Products

  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Professional Email
  • P2: WordPress for Teams
  • Website Design Services
  • Enterprise Solutions

Features

  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps

Resources

  • WordPress.com Support
  • WordPress Forums
  • WordPress News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
  • Daily Webinars
  • Learn WordPress
  • Developer Resources

Company

  • About
  • Partners
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users

Language

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Twitter Twitter Icon
  • WordPress.com on Facebook Facebook Icon
  • WordPress.com on Instagram Instagram Icon
  • WordPress.com on YouTube Youtube Icon
An Automattic creation
Work With Us
    • WordPress.com Forums
    • Customize
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions