-
AuthorPosts
-
September 3, 2023 at 9:16 am #1417937
Dear Support Team,
on the https://elianafe.de/ page we have integrated 2 flags in the top right-hand corner for language selection. This all works wonderfully on the desktop PC. Only the mobile version has problems:
– On the HOME page of the mobile version: https://elianafe.de/ the flags are not displayed at all: see screenshot: https://elianafe.de/support/flags-home.png The HOME page has a transparent header as a setting.
– On the subpages that do not have a transparent header, such as “Press” https://elianafe.de/pressestimmen/, the flags are displayed on the mobile version, but they are placed in the middle. However, it is desired that the flags appear right-justified above the burger menu.
How can I change this so that it also works in the mobile version with the language selection?
Kind regards, Diana
Translated with http://www.DeepL.com/Translator (free version)
September 3, 2023 at 9:16 am #1417938Here is a link to the screenshot of the mobile view of the Press subpage: https://elianafe.de/support/flags-press.png
September 3, 2023 at 6:19 pm #1417965you got on your quick css some rules
because of an enfold rule is more specific than your setting – be more selective too on your settings !Replace your settings with:
.responsive #top #header_meta .sub_menu li.flag-deutsch { background: url('//www.elianafe.com/wp-content/uploads/2023/08/deutschland-sized.png') center center no-repeat; height: 50px; width: 50px; text-indent: -9999em; background-size: contain; } .responsive #top #header_meta .sub_menu .flag-english { background: url('//www.elianafe.com/wp-content/uploads/2023/08/vereinigtes-konigreich-sized.png') center center no-repeat; height: 50px; width: 50px; text-indent: -9999em; background-size: contain; } #top .flag-deutsch a, #top .flag-english a { display: block; height: 100%; background: none !important; /*** because of that layout.css rule your setting on li will otherwise be inherited to that a element ***/ }
you see that selector got two id’s and that overwrites your background setting with only one id in the selector
it is more selective!September 5, 2023 at 12:08 pm #1418147Perfect. Thanks a lot.
Best regards, DianaSeptember 5, 2023 at 3:23 pm #1418164Hi DianaLoola73,
We’re happy to hear that :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Language selection header Mobile version’ is closed to new replies.