nassim Posted November 22, 2023 Share Posted November 22, 2023 Is there any code injection I could use to change the look of my Language icon? I would like to turn image 1 to 2. Thanks Link to comment
SaranyaDesigns Posted November 22, 2023 Share Posted November 22, 2023 @nassim yes this might be possible with some custom CSS, if you share a link to the page you need help with, we can have a closer look? Link to comment
nassim Posted November 24, 2023 Author Share Posted November 24, 2023 the website is live now, you can take a look at it at: www.wefx.com Can you walk me through if you are looking for an internal link? Link to comment
Solution SaranyaDesigns Posted November 27, 2023 Solution Share Posted November 27, 2023 @nassim try adding this to your custom CSS: .header-actions .language-picker-desktop .language-picker-content { opacity: 1; background: transparent; display: flex; position: relative; } .header-actions .language-picker-desktop .language-picker-content .language-item:first-of-type { padding-right: 10px; margin-right: 10px; border-right: 2px solid; } .header-actions .language-picker-desktop .current-language { display: none; } If that doesn't work, trying playing around with adding !important to certain properties to override the existing styles, like this: .header-actions .language-picker-desktop .language-picker-content { opacity: 1 !important; background: transparent !important; display: flex; position: relative !important; } .header-actions .language-picker-desktop .language-picker-content .language-item:first-of-type { padding-right: 10px; margin-right: 10px; border-right: 2px solid; } .header-actions .language-picker-desktop .current-language { display: none; } tuanphan 1 Link to comment
nassim Posted November 28, 2023 Author Share Posted November 28, 2023 None of them worked, with both codes My language switch was disappeared. Link to comment
nassim Posted November 28, 2023 Author Share Posted November 28, 2023 Oh wow, It worked, for some reason doesn't show it on the dashboard, but if I go online , It's there, Awesome thank you so much. Link to comment
nassim Posted November 28, 2023 Author Share Posted November 28, 2023 So looks like the look is there, But it's broken, It doesn't translate properly and I have to refresh in order to switch between languages on each page. Link to comment
SaranyaDesigns Posted November 28, 2023 Share Posted November 28, 2023 @nassim Looks to be working on my end 🙂 Link to comment
nassim Posted November 28, 2023 Author Share Posted November 28, 2023 Yes, I think it needed a bit of time to adjust. Thank you so much SaranyaDesigns 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment