How to make the post archive image fixed instead of scroll effect?

This topic has 5 replies, 2 voices, and was last updated 2 years, 1 months ago ago by Sadikul Islam

  • Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    October 18, 2022 at 14:19

    Hi, how do I make the featured background image fixed instead of the scroll on the single post page? and is there any option to increase the height of the featured image?

    Blog post link is in the private content area.

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 18, 2022 at 15:48

    Hello,

    Add the next code in Theme Options > Theme custom CSS:

    .single-post .single-post-large img {
        transform: none !important;
    }

    Regards

    Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    October 19, 2022 at 06:00

    How can I increase the height of the image height?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 19, 2022 at 07:09

    Hello,

    Try to change the previous code to:

    .global-post-template-large .single-post-large-wrapper {
        height: 100vh;
        max-height: 100vh;
    }
    .global-post-template-large .backstretch-item img {
        height: 100vh !important;
        transform: none !important;
    }

    Regards

    Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    October 19, 2022 at 10:46

    Did some modification but this worked thank you.

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

The issue related to '‘How to make the post archive image fixed instead of scroll effect?’' has been successfully resolved, and the topic is now closed for further responses

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