Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1165854

    Hi
    Since I changed the appearance of the WPML language switcher, the context menu on mobile devices is centered in the header instead of floating right like on the desktop version. How can I correct that? Thanks for your support!
    filz51

    • This topic was modified 5 years ago by filz51.
    #1166173

    Hey filz51,

    I’m not seeing the layout issue. Can you screenshot?

    Best regards,
    Jordan Shannon

    #1166330

    Hi Jordan
    I had the code prepared but I placed it in styles.css of my child theme and then it wasn’t applied. When I put the code in Quick CSS in Enfold, it worked. It’s just confusing that some code in styles of the child theme is applied other is not.
    Thanks anyway
    Filz

    #1166945

    Hi,

    For customizations, always start with quick css. Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1167194

    Hi Jordan
    Thanks, it’s still confusing why some css-code is applied when it’s put it in quick css but not applied when it’s put in style.css. One thing – not related to WPML – but please allow me to use this ticket: The social shares icon on product pages don’t look nice anymore. I use in css:

    	.single-product .av-share-box {
        	margin-bottom: 20px;
    	}

    and in functions.php

    add_action('woocommerce_after_single_product_summary', 'avia_add_social_toolbar', 10, 2);
    function avia_add_social_toolbar($id = "", $context = "")
    {
    		avia_social_share_links();
    }

    like written here (Enfolds early years…): https://kriesi.at/support/topic/social-buttons-on-woocommerce-product-pages/
    You find a sample product in the private content.
    Happy day, filz

    • This reply was modified 5 years ago by filz51.
    #1167783

    Hi filz51,

    If it’s not applying when adding to style.css, you may need to clear your browser’s cache.
    If that doesn’t work, it’s most likely a caching issue or maybe css minification.
    As for social shares, there’s a bug with the icons, please refer to the solution: https://kriesi.at/support/topic/missing-icons-after-updating-to-wordpress-5-3-1-and-maintenance-releases/
    Hope it helps.

    Best regards,
    Nikko

    #1167802

    Hi Nikko

    Thanks for your explanations and your support. The php-file for avians front-end settings fixed it. The ticket can be closed.

    Best, filz

    #1167816

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘WPML language switcher breaks alignment in mobile context-menu’ is closed to new replies.