Preventing the size change of the Custom page heading image for this category.

This topic has 4 replies, 3 voices, and was last updated 16 minutes ago ago by Jack Richardson

  • Avatar: mahdar
    MAHDAR
    Participant
    March 17, 2025 at 10:54

    I’m calling the Custom page heading image for this category on the product archive page, but I want it to be full-size. Right now, its size is reduced, and the quality drops.

    What’s the solution?

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 17, 2025 at 12:14

    Hello,

    Thank you for reaching out to us.

    Could you please provide temporary wp-admin access? We need to check your settings.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    Warm Regards,
    The 8Theme Team

    Avatar: mahdar
    MAHDAR
    Participant
    March 17, 2025 at 15:05

    Private content

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 17, 2025 at 16:53

    Dear @MAHDAR,

    We have reviewed the issue, and the image is displaying correctly. However, you may notice a lower quality when viewing it on certain devices. This is due to the “srcset” attribute in WordPress, which adjusts image quality based on the device being used.

    If you would like to disable the “srcset” functionality for images, you may find the following article helpful: https://perishablepress.com/disable-wordpress-responsive-images/.

    Additionally, you can try adding the following code to your “child-theme/functions.php” file to disable “srcset” on the frontend:

    // Disable srcset on frontend
    function disable_wp_responsive_images() {
        return 1;
    }
    add_filter('max_srcset_image_width', 'disable_wp_responsive_images');

    Please let us know if you need any further assistance.

    Best regards,
    Jack Richardson
    8Theme Team

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

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

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