-
AuthorPosts
-
March 24, 2015 at 6:51 pm #234481
Hi there, I love the archive for the portfolio but I don’t love the oversized featured image on my portfolio items. Is it possible to retain the featured image thumbnail on the archive page but remove it completely from within the post page? I have tried to remove them through other methods found in this forum but nothing was working for me.
I’m using a child theme and tried to adjust content-portofolio.php file by a) removing:
<div class=”entry-featured”>
<?php x_portfolio_item_featured_content(); ?>
</div>but that deleted the featured image on the archive, too. I then tried b) replacing the above with:
<?php if(!is_post() || !is_page()): ?>
<div class=”entry-featured”>
<?php x_featured_image(); ?>
</div>
<?php endif; ?>but that also got rid of the archive featured image thumbnails though it remained on the post page. Next, I tried c) adding the following to my Customizer Custom CSS:
.single-post .entry-featured {
display: none;
}but that had no visible effect on the post (or archive even this time).
Is there anything else I can try? My portfolio is for my design work and the featured image is unnecessary as each item requires a gallery of images to showcase different pieces of the project.
My url is: http://naomimekeel.com/work/; I’m working in WordPress 4.1.1, the latest version of X and shortcodes 3.0.5.
Thank you in advance for any help!
March 24, 2015 at 10:59 pm #234552Hey. Try posting the writing below into your Customizer CSS.
/* hides featured image on single post */
.single-post .entry-featured {
display: none !important;
}March 25, 2015 at 4:36 am #234664Hi,
For portfolio item page the code should be
.single-x-portfolio .entry-featured { display:none; }
Hope that helps.
March 25, 2015 at 12:08 pm #235024Hi,
How would I remove the featured image from my blog page as well?
Thanks.
March 25, 2015 at 12:12 pm #235030nevermind, i tried this and it worked:
.blog .entry-featured { display: none !important; }
March 25, 2015 at 12:42 pm #235054Thank you so much, that worked!
March 25, 2015 at 2:12 pm #235098You’re most welcome.
Let us know if you need anything else.
Cheers!
-
AuthorPosts