Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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!
    Eric

    #769570

    Hi Eric!

    Can you please give us a link, lets see if we can do it with a way in CSS>

    Best regards,
    Basilis

    #837160

    Hi 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 6 years, 11 months ago by Eric.
    #838904

    Hi,

    Can I see the site also so I can target the CSS please?

    Best regards,
    Basilis

    #843364

    Hi,

    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,
    Vinay

    #925801

    Just 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, 4 months ago by sump22.
    #925956

    Hi sump22,

    Great, glad you got it working and thanks for sharing your solution.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.