Blog article preview image and featured image

This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago ago by Rose Tyler

  • Avatar: fabio_vito
    Fabio
    Participant
    March 31, 2020 at 19:51

    Dear Support,

    I would like to have your help concerning the following issue. Some of my posts, are also accessible through the homepage where they are visible through a small image and a preview of the content.
    Please consider this image representing the link available on the home page: https://pasteboard.co/J1G3ghh.png

    Now, as you can see the blog image is not squared. The reason for it is the following: that blog image is taken from the feature image. In the blog I cannot upload a squared featured image because it is reported at the beginning of the blog article. Putting a squared image at the top of the blog would be not be acceptable from a style point of view because would take too much space in height.

    Is there a way to have a rectangular (width larger than the height) at the top of the blog while having a squared image on the blog preview in the homepage?

    If not possible, is there a way to hide the featured image from the top of the blog (just in the blog page, this one https://pasteboard.co/J1G7G1c.png), while keeping the featured image in the blog preview on the homepage and blogs page?

    Please let me know.

    Fabio

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 1, 2020 at 10:33

    Hello,

    Try to use this custom CSS code:

    .post-single > img {
        display: none;
    }

    Regards

    Avatar: fabio_vito
    Fabio
    Participant
    April 1, 2020 at 11:05

    Dear Rose,

    Thank you, just a clarification. Shall I use this code as a general css applicable to the whole website? If so, it means that all blog pages will be affected?

    Fabio.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 1, 2020 at 13:18

    Hello,

    Yes, it will affect all single post pages.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.