badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Different slider image sizes in multilingual website

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10939
    1.26.61.39
    Participant

    hi
    in function cleanretina_core_functionality
    i changed these lines
    add_image_size( ‘featured’, 700, 290, true);
    add_image_size( ‘slider’, 962, 390, true); // used on Featured Slider on Homepage Header
    with these
    add_image_size( ‘featured’, 700, 720, true);
    add_image_size( ‘slider’, 962, 720, true); // used on Featured Slider on Homepage Header

    This is what I get in the italian website: http://moiazza.altervista.org/
    This is what I get in the english one: http://moiazza.altervista.org/en/

    may I ask you a little help to understand where I’m wrong?

    thanks
    Antonio

    #10957

    Hi Antonio,
    Yes this will set the image for the home page slider
    add_image_size( ‘slider’, 962, 720, true); // used on Featured Slider on Homepage Header

    for the featured image blog post
    add_image_size( ‘featured’, 700, 720, true);

    After changing the settings you need to upload and set the image again. So that it will display according to your setting.
    we recommended not to change the code because if you change the code then while updating to our new version all the customization code will be lost.

    Thank you

    #10971
    1.26.61.39
    Participant

    great!
    thanks

    #10984

    Always welcome
    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.