Okay
  Public Ticket #885888
News Page
Closed

Comments

  •  1
    Brandon started the conversation

    How do I stop the featured picture from an article being displayed above the article on the news page and on the actual articles page?   I still want the featured picture displayed on the home page under recent articles.

  •  1,710
    Barry replied

    Hi Brandon,

    This can be done with some custom CSS. Please add the following CSS via Appearance > Customize > Theme Options > Custom CSS

    body.blog .hentry--post-thumbnail, body.single-post .hentry--post-thumbnail { display: none; }

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1
    Brandon replied

    That worked for taking away the featured picture on the blog page, but now the featured picture is not getting cropped properly on the home page in the QT: Lasts Posts Block.  http://healthrehabchiropractic.com/  How do I get the Lastest post to crop the featured picture properly again?

  •  1,710
    Barry replied

    Hi Brandon,

    The featured images get cropped by a default WordPress PHP function. This function will only work proper when you upload images with the same orientation and that are larger than at least 850 pixels in width. The middle image that doesn't get cropped properly is a portrait orientated image and the left and right ones are landscape orientated. Please upload the images in the same orientation and at least 850 pixels width.

    For the 2 landscape orientated images:

    http://healthrehabchiropractic.com/wp-content/uploads/2016/01/Swimming-is-good-exercise_opt.jpg
    http://healthrehabchiropractic.com/wp-content/uploads/2015/12/auto-injury-helped-by-chiropractors-in-alexandria_opt850.jpg
    

    They are both 850 pixels in width so they does not cropped properly that's also why you see the difference in height on the thumbnail images.

    If you have any questions please let me know.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1
    Brandon replied

    The strange thing is before I made changes to the feature picture,  the center and right picture was cropped properly.  with the left picture being slightly larger

  •  1
    Brandon replied

    Same size photo 525 × 567 with the guy in the red shirt.  If pull out the extra css code and put in the original photo, size 525 × 567, it crops properly.  Even with the code out the edited, with the red line, picture does not crop propperly even though the size of the picture is the same 525 × 567

  •  1
    Brandon replied

    I played with it more.  I took out the code and reloaded the pictures in.  They crop fine now.  I then put the code back in and the pictures stayed cropped and the feature picture is not in the blog.  I think the issue is when I have this code in body.blog .hentry--post-thumbnail, body.single-post .hentry--post-thumbnail { display: none; }  and make a new blog post and have a new feature picture the new picture is not cropping properly on the home page for the most recent articles.


  •  1,710
    Barry replied

    Hi Brandon,

    That's strange because the CSS has nothing to do with the cropping function. I checked your website again and the thumbnails are working again at the news section?

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1,710
    Barry replied

    Hi Brandon,

    We cross-posted each other.

    Can you provide me a login so I can test it out myself? And see what is causing the issue? 

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1
    Brandon replied

    This is a public ticket.  How can I get you the login info?

  •  1,710
    Barry replied

    Hi,

    You can check the 'Private Reply' toggle below the textarea. The login credentials will only be visible for me then.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •   Brandon replied privately
  •   Barry replied privately
  •   Barry replied privately