• 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 / Removing the date and author from posts in Vision theme

Removing the date and author from posts in Vision theme

  • Unknown's avatar
    johnianstone · Member · May 26, 2015 at 10:21 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I am trying to remove the author and date from all posts on my blog so that it looks more like a static website. I have tried using the CSS editor to remove each of these separately, as follows:

    .author {
    display: none;
    }
    .entry-date {
    display: none
    }

    However this leaves the labels “by” and “on” on every post, and “x days ago” in the featured content panes on the homepage. Is there any way to remove all of this post metadata? I have tried the following, to no avail…

    .entry-meta {
    display: none
    }

    Thanks for your help!

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

  • Unknown's avatar
    thesacredpath · Member · May 27, 2015 at 1:28 am
    • Copy link Copy link

    Hi there, to remove the date and the author from single post pages, change the rule you have not to the following:

    .entry-date, .postmetadata {
        display: none;
    }

    I used the web inspector built into my browser to find the relevant CSS. If you are not familiar with the web inspector in your browser, take a look at our support page on How to Find Your Theme’s CSS where you will find some brief screencasts to get you started with it. I find it an invaluable tool when working with CSS.

  • Unknown's avatar
    johnianstone · Member · May 27, 2015 at 9:35 am
    • Copy link Copy link

    Thank you so much for this – the rule you suggested worked perfectly! I will now definitely start teach myself how to view and edit the CSS properly.

    I have just one related issue, which is that when the post metadata is removed it leaves an insufficient gap between the title and the main text. Can I use a CSS rule to add a small space in place of the metadata?

    Thanks again, I really aprreciate your help.

  • Unknown's avatar
    thesacredpath · Member · May 27, 2015 at 6:53 pm
    • Copy link Copy link

    Super and you are welcome.

    We can increase the bottom margin on the post titles on the single post pages with the following CSS. You can adjust the 25px value I included as you desire.

    .single .main article.post h1.title {
        margin-bottom: 25px;
    }
  • Unknown's avatar
    johnianstone · Member · May 28, 2015 at 10:23 am
    • Copy link Copy link

    Thank you so much! That works perfectly. The posts themselves are now fine, but the remaining issue I have is that the automatically-generated “featured content” snippets that appear on the front page and category pages are not affected by the CSS you provided, so there is still insufficient space between the titles and text. Is there anything I can do about that? I have tried finding the relevant CSS but it’s a bit beyond me!
    Thanks again…

  • Unknown's avatar
    thesacredpath · Member · May 28, 2015 at 1:42 pm
    • Copy link Copy link

    The main page has different selectors, and I had specifically targeted the single post pages with the other code. The following will do the entries on the main page and on category/tag/archive type pages as well.

    .main .showcase .item h2, .main article.post-archive .entry h2 {
        margin-bottom: 25px;
    }
  • Unknown's avatar
    johnianstone · Member · May 28, 2015 at 10:51 pm
    • Copy link Copy link

    Thank you very much for this – it’s just the job. Very grateful.

  • Unknown's avatar
    thesacredpath · Member · May 29, 2015 at 6:02 pm
    • Copy link Copy link

    You are welcome. :)

  • The topic ‘Removing the date and author from posts in Vision theme’ is closed to new replies.

Tags

  • author
  • CSS
  • date
  • metadata
  • remove
  • vision

About this topic

  • In: CSS Customization
  • 2 participants
  • 7 replies
  • Last activity 11 years
  • Latest reply from johnianstone

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