Don't show blog images on the Linen Home Page.
-
I have implemented the theme Linen for our blog (www.quitpaper.com).
I have set up the CSS code for the featured image to not show up on the home page–success. However, i would then like to have a blog image (from the “add media” feature) added into the post (I find that the layout works better), but I do not want these images on the home screen either.
Is there an additional CSS code that I may use to allow for this?
Thanks so much!!
The blog I need help with is: (visible only to logged in users)
-
This thread will be moved to the CSS Forum for you. Please do not create a duplicate thread.
-
You can target elements on just the home page by starting your CSS selectors with “.home”
If you can point out a specific image (give me a link and describe the image for me), then I can see if I can help you with a more specific CSS example.
-
Thank you for your help, ladies!
DesignSimply– If you go to this blog post on our site (http://blog.esker.com/2013/07/11/making-trades-in-baseball-and-to-the-cloud/), you will see that I have added in an image for this post (via the Add Media feature from the dashboard). When you view this blog post on the home screen, the image shows up within the spoiler on the feed.
How may I change the CSS code so that the images that are added into the blog post (via Add Media from the “Kitchen Sink” in the Add Post page) does not show up on the home page.
Please let me know if this makes sense. And I appreciate all of your help!
Kalyn Lewis -
Using @designsimply’s suggestion, the following will target entry images and their captions on the main (blog/posts) page only and leave them on the single post pages:
.home .entry img, .home .wp-caption p { display: none; } -
- The topic ‘Don't show blog images on the Linen Home Page.’ is closed to new replies.