Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #411606

    I found this guide here
    https://kriesi.at/support/topic/move-featured-image-below-post-title-date-etc/#post-185070
    But it didn’t work for me.
    http://test.theburningear.com/2015/01/history-history/
    Is there a more recent way?

    Also, how can I get the Featured image title and caption to show up in the lightbox? Preferably with a clickable link if I include a link in the description

    #411948

    Hi theburningear!

    Thank you for using Enfold.

    You can edit loop-index.php, look for this code:

    //echo preview image
            if(strpos($blog_style, 'big') !== false)
            {
                if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
                if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>';
            }

    Move it above line 198:

    // echo the post content
                echo '<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>';
                echo $content;
                echo '</div>';

    Regarding the lightbox image, when you set a featured image, you can add a custom caption.

    Regards,
    Ismael

    #412014

    Hi Ismael, thanks for this!

    However, the featured image caption is not showing up in the lightbox.
    http://www.theburningear.com/2015/03/fein-grownupz-girl-you-cant-hide-it/
    I can see it on hover so I know its there, but nothing in the lightbox. Is there more code needed?

    #412762

    Hi!

    Remove this custom css code:

    .mfp-title {
      display: none;
    }

    or add this to the Quick CSS field:

    .mfp-title {
      display: block;
    }

    Cheers!
    Ismael

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