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