marimbaman
Forum Replies Created
-
@kushnamdev take a look at this and see for yourself:
https://eephoto.de/portfolio/music/
looks much better with your option, too.
So, how can I fix this?
@kushnamdev, did you check these screenshots, too?
You can see the distorted images clearly. I remade the gallery you are referring too, replaced the square thumbnails with newly created ones. They aren’t distorted so far.
For instance, if the mobile version of an image container is 300×300 and on desktop 500×500, we deliver a 300×300 image size for mobile and a 500×500 version for the desktop users.
And where do you store these different sizes, are they created on the fly?
@kushnamdev , can you see the distorted images now?
Hi, Kush,
they aren’t blurred, they are either stretched or squashed, see. screenshots here: https://www.dropbox.com/scl/fo/cnoaxzodr1ctvdhkwyi46/AEL6UcGkeZpZQ6MtO_TkCIU?rlkey=q3eb8o0y11j28rb8iaq2dpgxj&st=jp2dhysw&dl=0
Follow-up, unfortunately, there are more galleries with distorted images.
Forum: Plugins
In reply to: [Polylang] Menus don't switch according to languagesThank you so much. It works just fine.
Forum: Plugins
In reply to: [Polylang] Menus don't switch according to languagesYou must change your menu items in your Russian menu and slect Russian pages.
And how do I go about it, precisely, I’m a bit confused as to where to change this?
This still stands true, the changes I made didn’t work. So how can I fix this issue?Forum: Plugins
In reply to: [Polylang] Menus don't switch according to languagesNow, I got it, thank you so very much. Your help is very appreciated.
Forum: Plugins
In reply to: [Polylang] Menus don't switch according to languagesYou must change your menu items in your Russian menu and slect Russian pages.
And how do I go about it, precisely, I’m a bit confused as to where to change this?Forum: Plugins
In reply to: [Polylang] Menus don't switch according to languagesNot quite, unfortunately. If you switch to Russian, the menu does switch to the Russian version, too. But it doesn’t remain a Russian one if you proceed to another menu item, it switches back to English.
The goal is to have a Russian menu active as long as I move around in Russian section of the page.
What could be a cause of this behaviour and how to fix it?Forum: Plugins
In reply to: [Polylang] Menus don't switch according to languagesThank you for quick reply. Here is the excerpt from header.php :
<?php do_action('et_header_menu'); ?> <nav id="main-menu"> <?php $menuClass = 'nav'; if ( get_option('trim_disable_toptier') == 'on' ) $menuClass .= ' et_disable_top_tier'; $primaryNav = ''; if (function_exists('wp_nav_menu')) { $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'echo' => false ) ); } if ($primaryNav == '') { ?> <ul class="<?php echo esc_attr( $menuClass ); ?>"> <?php if (get_option('trim_home_link') == 'on') { ?> <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e('Home','Trim') ?></a></li> <?php }; ?> <?php show_page_menu($menuClass,false,false); ?> <?php show_categories_menu($menuClass,false); ?> </ul> <?php } else echo($primaryNav); ?> </nav>
and from functions.php:
function register_main_menus() { register_nav_menus( array( 'primary-menu' => __( 'Primary Menu', 'Trim' ) ) ); } if (function_exists('register_nav_menus')) add_action( 'init', 'register_main_menus' );