New Landing How can we help? Cardinal Mobile image quality problem

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #237972
    kaartjeshuis
    Member
    Post count: 20

    The 2 images on the bottom of the homepage look perfectly fine on my computer,
    but they seem to be pixelated when i visit the page on my iPad…

    Joris

    Attachments:
    You must be logged in to view attached files.
    #238117
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    If you’re using a retina device, the images will be 2x bigger. You should upload the images twice as big so that they are crisp on retina devices

    – Kyle

    #238140
    kaartjeshuis
    Member
    Post count: 20

    Hi Kyle,
    I changed the images to 1250px x 1250px, but it’s still pixelated…

    #238142
    David Martin – Support
    Moderator
    Post count: 20834

    Please enable your child theme, please add this to your child theme’s functions.php file:

    function sf_disable_srcset( $sources ) {
    return false;
    }
    add_filter( 'wp_calculate_image_srcset', 'sf_disable_srcset' );

    Please re-test that page.

    Thanks.

    #238143
    kaartjeshuis
    Member
    Post count: 20

    (Also tried 2000px x 2000px)

    #238144
    kaartjeshuis
    Member
    Post count: 20

    There seems to be a problem with the code?

    Attachments:
    You must be logged in to view attached files.
    #238150
    David Martin – Support
    Moderator
    Post count: 20834

    Please enable your child theme, please add this to your child theme’s functions.php file, not the custom CSS theme options.

    Thanks.

    #238158
    kaartjeshuis
    Member
    Post count: 20

    How can i change the functions.php content?
    I found the file but have no clue how to add your code…

    #238159
    David Martin – Support
    Moderator
    Post count: 20834

    You need to edit the child theme functions.php file, not the main parent theme’s.

    Please use a code editor such as http://www.sublimetext.com/, open the file and copy/paste in your code.

    Thanks.

    #238160
    kaartjeshuis
    Member
    Post count: 20

    This one?

    Attachments:
    You must be logged in to view attached files.
    #238166
    kaartjeshuis
    Member
    Post count: 20

    Ok, works fine 🙂
    Thanks!

    #238173
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks David

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register