• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Duet theme – hide post date

Duet theme – hide post date

  • Unknown's avatar
    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)

  • Unknown's avatar
    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;
    }
  • Unknown's avatar
    aranyhiuz · Member · Jan 11, 2014 at 10:53 pm
    • Copy link Copy link

    Thanks very much, it’s ok now!!

  • Unknown's avatar
    justpi · Member · Jan 11, 2014 at 10:54 pm
    • Copy link Copy link

    You’re welcome.

  • Unknown's avatar
    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?

  • Unknown's avatar
    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;
    }
  • Unknown's avatar
    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!

  • Unknown's avatar
    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.

  • Unknown's avatar
    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.

  • Unknown's avatar
    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;
    }
  • Unknown's avatar
    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 12 years
  • Latest reply from aranyhiuz

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

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

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions