Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1187424
    kowalsme
    Participant

    How can I remove the duplicate post title on any post designated as an index featured post in Ethos?

    It is showing the title overlayed on the featured image, which I like, and also above the image like the other posts. I only want to show the image with title overlay for these featured posts

    example: http://andthenitried.com/

    #1187502
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! To resolve your issue, please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript

    (function($){
      $('.hentry').each(function(){
        var element = $(this);
        var featured = element.find('.entry-thumb.featured');
        if ( featured.length > 0 ){
          element.addClass('featured-post');
        }
      });
    })(jQuery);

    And then you also need to add the following css code in the customizer, Appearance > Customize > Custom > CSS

    .featured-post .entry-header {
        display: none;
    }

    http://prntscr.com/clatpe

    We would loved to know if this has work for you. Thank you.

    #1201187
    kowalsme
    Participant

    This worked. Thanks for your help!

    #1201450
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1187424 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>