• 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 / Origin Theme – remove author AND "by", remove tags from home page

Origin Theme – remove author AND "by", remove tags from home page

  • Unknown's avatar
    jakepht · Member · Feb 3, 2015 at 9:42 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Using the origin theme
    Would like to hide the author meta-data on the main page and on individual posts. I have tried such CSS code as:

    .entry-meta .sep, .entry-meta .entry-date {
    display: none;
    }

    and

    .byline span.author.vcard {
    display: none;
    border-bottom: 0 solid #fff;
    }

    These codes have removed the author, but leave the word “by” in it’s place. I would like to remove the author and the word by so it isn’t by nobody. Follow me?

    Same and different, I would like to remove the tags from the main page as well. I would like to keep the tags active, and at this point I think that I would like to keep the tags in the posts’ footers, but would like them removed off the main page.

    Any advice is much appreciated.

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

  • Unknown's avatar
    staff-happychia · Staff · Feb 4, 2015 at 9:51 am
    • Copy link Copy link

    Please try this style and see if the result is what you want:

    .byline {
       visibility:hidden;
    }
    
    .byline .author {
        display:none;
    }
    
    .byline .published, .byline a[rel="category tag"], .byline .comments-link {
         visibility:visible;
    }
    
    .byline a[rel="category tag"]::before {
        content: "Posted in ";
        font-weight:bold;
        margin-left:-40px;
    }
  • Unknown's avatar
    jakepht · Member · Feb 5, 2015 at 4:52 am
    • Copy link Copy link

    This worked to eliminate the author and “by” note, but for some reason the tags are now overlapping. I tried to change the margin but it didn’t stop the overlap. Also, it says “Posted in” in front of each tag, when I would prefer it to say it just once followed by a list of tags. I will try to fiddle with it, but if you know the fix to it that’d be great. I’ve left it overlapped so someone could maybe identify the problem. Thanks again

  • Unknown's avatar
    staff-happychia · Staff · Feb 5, 2015 at 8:31 am
    • Copy link Copy link

    Oops, I did not realize the “Posted in” repeats for every category name. We can fix it by updating the last style in my previous update to the following:`

    .byline a[rel=”category tag”]:nth-of-type(1)::before {
    content: “Posted in “;
    font-weight:bold;
    margin-left:-40px;
    }`

    Could you add multiple categories to posts so I can see how they are overlapping so we can fix it :-)

  • Unknown's avatar
    staff-happychia · Staff · Feb 5, 2015 at 8:32 am
    • Copy link Copy link

    Here is the formatted CSS:

    .byline a[rel="category tag"]:nth-of-type(1)::before {
    content: "Posted in ";
    font-weight:bold;
    margin-left:-40px;
    }
  • Unknown's avatar
    jakepht · Member · Feb 6, 2015 at 12:12 am
    • Copy link Copy link

    Woops, looks like another admin took out the multiple categories. I’ve used your latest suggestion, added a few categories to the posts, and everything looks great. Thanks.

  • Unknown's avatar
    staff-happychia · Staff · Feb 6, 2015 at 1:02 am
    • Copy link Copy link

    Sweet. Good to know :-)

    Happy blogging.

  • The topic ‘Origin Theme – remove author AND "by", remove tags from home page’ is closed to new replies.

Tags

  • CSS
  • Hide
  • meta data
  • Origin

About this topic

  • In: CSS Customization
  • 2 participants
  • 6 replies
  • Last activity 11 years
  • Latest reply from jakepht

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