• 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 / Editing post meta data on post page without affecting front page, Sandbox theme

Editing post meta data on post page without affecting front page, Sandbox theme

  • Unknown's avatar
    womensfoundca · Member · Mar 11, 2010 at 6:59 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I have customized the Sandbox theme for a nonprofit blog (wordpress.com hosted). It’s a work in process! I am having trouble styling the entry-meta section. I have styled the entry meta section for the front page, but would like to remove the entry-meta information that appears at the end of the post when in the single post view. I have tried selecting for the individual post first such as:

    #post-108 .entry-meta {
    display:none;
    }

    but this still removes the entry-meta info on the front page. Is it possible to apply styling to how the post displays in the single post view (for all posts) without affecting the style of the front page? If so, how do I select for this? Is it possible to remove the entry-meta only from the single post view?

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

  • Unknown's avatar
    hallluke · Member · Mar 15, 2010 at 2:00 am
    • Copy link Copy link

    You can differentiate between the two with one of the body element’s classes. On the main page use body.home and on the individual entry use body.single as your selector. In your case you will want to use something like:

    body.single .entry-meta {display:none;}

    I just did a quick test and this works for me using version 1.1 of the Sandbox theme. I hope that helps.

    lh

  • The topic ‘Editing post meta data on post page without affecting front page, Sandbox theme’ is closed to new replies.

Tags

  • entry-meta
  • post

About this topic

  • In: CSS Customization
  • 2 participants
  • 1 reply
  • Last activity 16 years
  • Latest reply from womensfoundca

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