Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #368932

    Hi Team,

    I managed to resize the image size for high res icons in mega menu with this code:

    #header .avia_mega_div img {
        max-width: 100% !important;
        width: 50px;
    }

    But on the mobile menu, the icons are huge! How can I tell the theme to reduce the inserted mega menu images on mobiles and tablets?

    http://www.justcom-hamburg.de

    Cheers,
    Jan :)

    #368934

    Hey Jan! :)

    Please add following code to Quick CSS and adjust as needed

    ul#mobile-advanced img {
    max-width: 10%;
    }

    Regards,
    Yigit

    #369500

    Hi Yigit,

    awesome, thanks. Works perfectly! :)

    Two more things:

    1) How can I set the thumbnail proportion to 3:2 (the original is 1200×800 px) in the 1-column portfolio (normal, not special) so that it doesn’t cut the image?

    2) How can I change the following text in the search box, when looking for portfolio items: “Portfolio Einträge” – In my case it should say “Reparaturen”.

    Thanks,
    Jan :)

    #369505

    Hey!

    1- Please go to Appearance > Editor and open Functions.php file and find

    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)

    and change as needed. Then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
    2- Please use this plugin to change the string – https://wordpress.org/plugins/codestyling-localization/

    Cheers!
    Yigit

    #369953

    Hey Yigit,

    thank you very much.

    How willl I insert it in my child theme’s functions.php? Now, there’s nothin’ in this file. Would I just insert the code from above and upload it via ftp?

    It’s the first time I’m working with a child theme ;)

    Thanks, I really appreciate your help every time!!

    Jan :)

    #369958

    Hey!

    You can use this plugin – https://wordpress.org/plugins/simple-image-sizes/

    Regards,
    Yigit

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