Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter najrj89

    (@najrj89)

    Hi bdbrown ,

    regarding 1st approach , when i go to category featured images showing bit more largely then actual size even size is still same

    any solution for that

    Thanks

    Change this:

    /* set featured image to natural size */
    .blog .post-thumbnail img {
      width: initial;
    }

    To this:

    /* set featured image to natural size */
    .blog .post-thumbnail img,
    .archive .post-thumbnail img {
      width: initial;
    }

    I see the Related Posts also have the same issue. To fix that:

    1. Copy /inc/related-posts.php from the parent theme to the same folder in your child theme.

    2. In this line in related-posts.php, replace ‘thumb-medium’ with ‘medium’

    <?php if ( has_post_thumbnail() ): ?>
    	<?php the_post_thumbnail('thumb-medium'); ?>

    3. Add related-posts to the css:

    /* set featured image to natural size */
    .blog .post-thumbnail img,
    .archive .post-thumbnail img,
    .related-posts .post-thumbnail img {
      width: initial;
    }
    Thread Starter najrj89

    (@najrj89)

    Hi bdbrown ,

    It works,feeling so happy. I think we are done here.

    Before going to mark this as resolved i need few more customization’s actually.

    1. I want 4 posts in a raw and maximum 12 posts per page (both in home page and category)

    2. If i enable “featured post count” , images showing in old format (large cropped image in a placeholder) and slider is not moving. is it possible to show the actual size.

    even though, I don’t need this option right now but who knows if i need it in the future.

    Thanks

    Thread Starter najrj89

    (@najrj89)

    3. “you may also like” image showing bit larger than the real size too

    1. Add this css:

    .post-list .post-row {
      width: 50%;
    }

    And change “Settings > Reading > Blog pages show at most” to 12.

    2. Copy content-featured.php to your child theme. Change ‘thumb-large’ to ‘medium’

    <?php if ( has_post_thumbnail() ): ?>
    	<?php the_post_thumbnail('thumb-large'); // only difference to content.php ?>

    See this post about activating the slider.

    3. See the information I posted above regarding Related Posts.

    Thread Starter najrj89

    (@najrj89)

    Hi bdbrown ,

    Everything working perfectly

    I dont know it will be appropriate to ask more solution’s here since Thumbnail Placeholder RESIZE problem already solved.

    But again i need few more modifications

    1. How can i remove black divider line between the raw

    2. In mobile version i want one post per raw , is that possible

    3.How can i edit “previous story” to “previous book”

    4. if i want slider to show some selected post rather than latest post

    is that possible , i got a old post here but i didnt get it https://www.ads-software.com/support/topic/featured-slider-modification?replies=3

    Glad you got the thumbnails working. If you don’t need any further assistance with this topic please mark it as Resolved, and start a new topic with your other questions. Thanks.

    Thread Starter najrj89

    (@najrj89)

    bdbrown is the man

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Thumbnail Placeholder RESIZE’ is closed to new replies.