-
AuthorPosts
-
March 30, 2017 at 6:38 pm #769568
Hi Enfold Support,
I’ve been using the solution you provide here for the past several months to hide the placeholder space and or pencil icon (and area) on our posts within the post slider: https://kriesi.at/support/topic/news-posts-with-no-featured-image/
Works great although every time you update the theme the changes revert. Is there a way we can keep the changes in the postslider.php file and or make the hiding of the image preview area an option within the theme and or with some custom css?Thanks!
EricMarch 30, 2017 at 6:49 pm #769570Hi Eric!
Can you please give us a link, lets see if we can do it with a way in CSS>
Best regards,
BasilisAugust 10, 2017 at 9:51 pm #837160Hi Basilis, sorry for the terribly late reply. We solved the issue somewhat using a separate support thread. That said we found the same issue with the recent posts widget. We’ve been able to remove the image placeholder although the space where it was is still there (pushing all the text to the right). This change was made to the Quick CSS using:
span.news-thumb.no-news-thumb {
opacity: 0;
}Is there a way to remove the remaining space where the image placeholder was and move the text to align left with the widget title?
There is another solution provided by your support specialist, Victoria here. https://kriesi.at/support/topic/remove-images-from-recent-posts-widget/#post-832145
Although it requires updating the class-framework-widgets.php file which resides in the parent Enfold theme thus will be overwritten during the next Enfold update. We use a child theme and would be happy execute the change there. Just not sure how. Of course a quick CSS update would be more desirable. ;)
Thanks for your help!
- This reply was modified 7 years, 4 months ago by Eric.
August 14, 2017 at 7:40 pm #838904Hi,
Can I see the site also so I can target the CSS please?
Best regards,
BasilisAugust 24, 2017 at 7:52 am #843364Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.fake-thumbnail .slide-image { display:none; } .fake-thumbnail .slide-content { position:absolute; top:0px; transform:translateY(100%); }
Best regards,
VinayMarch 12, 2018 at 11:55 pm #925801Just an update for others searching on this. I ported over a bunch of blog posts from our old site and all I needed was:
.fake-thumbnail .slide-image {
display:none;
}To not display featured image placeholder entirely. The slide-content section seemed to just mess with formatting of the entire page. I’m using the standard grid blow layout with portfolio sized preview featured images.
- This reply was modified 6 years, 9 months ago by sump22.
March 13, 2018 at 9:29 am #925956 -
AuthorPosts
- You must be logged in to reply to this topic.