Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #26024

    Hi. How to display featured images inside the posts? With that, I am using this Grig Layout.

    #129015

    Hi,

    Edit post, look for Featured Image > Set featured image.

    Regards,

    Ismael

    #129016

    Featured images are available in all positions, but Grig Layout mode, they do not appear inside.

    http://s2.ipicture.ru/uploads/20130713/Ebr60NUn.jpg

    http://s1.ipicture.ru/uploads/20130713/0FZmtiAl.jpg

    #129017

    Hi,

    On Enfold > Blog Style > Please choose onother option except for “Grid Layout”. Create a page, insert the Blog Post element then choose Grid Layout. Set this page as your default Blog Page.

    Regards,

    Ismael

    #129018

    Hi. Yes, but then the posts in different rubriks will not be entered as Grid Layout. I need that to any archives are Grid Layout.

    #129019

    Hi,

    Undo the steps we did. Please follow this one. Edit includes > loop-index.php, find this code:

    //on single page replace the link with a fullscreen image
    if(is_singular())
    {
    $link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');
    }

    Below, add this code:

    if(strpos($blog_style, 'grid') !== false)
    {
    echo '<a href="'.$link.'"><img src="'.$link.'" title="" alt="" class="blog-grid-preview"></a>';
    }

    Edit custom.css or Quick CSS, add this code:

    .blog-grid-preview {
    width: 95%;
    border-radius: 10px;
    }

    Regards,

    Ismael

    #129020

    Thanks!

    #129021

    Maybe should be added to update or sticky?

    #129022

    Glad Ismael could help :)

    Let us know if you have any other questions or issues.

    @digitalmedia – We’ll be adding some updated documentation with various code snippets like this pretty soon.

    Regards,

    Devin

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘How to display featured images inside the posts?’ is closed to new replies.