Hide default language selector (Elevate theme)

Hi all,

I would like to hide or edit the default language selector that is used by the Elevate theme.

In English it looks okay, but when I switch to another language, it kinda ruins the header and makes my menu go on 2 lines instead of 1.

I’ve not found a way to hide or edit this.

(Have to blur/blank out branding atm)

Hi @JensD and welcome, we are thrilled to have you here! :hugs:
Great question, thanks for asking the HubSpot Community!
Let’s consult our Top Experts: Hi @albertsg, @StanGommans and @evaldas do you have any tips to share with @JensD, please?
Thanks so much and have a wonderful weekend!
Bérangère

Hi @JensD,

In other themes you might find that setting when editing the header/navigation module but, unfortunately, it does not look like there is a setting in the Elevate theme that would allow you to hide the language selector.

Since Elevate is not a “traditional” HubL theme, there also aren’t simple/quick options to edit the code for it. You could technically create a separate CSS file with a rule to not display the language selector and add it to the website’s head through the website settings, but I would not recommend that approach.

If you want to explore options on how to edit the Elevate theme, there is a good answer provided by @Anton in this thread: https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Elevate-theme-Recent-blog-needs-a-filter-for-tags/m-p/1155788

Hope this helps!

Thanks for the replies. I’ve found a dirty way to hide the text next to the globe (display:none), making only the globe appear.

This will work for now, hopefully the Elevate theme will provide better customization in the future.

HI @JensD,

As of now, the Elevate theme is really hard to customize, as it is a propotype-ish the for the new react-based themes (compared to the traditional HubL, HTML, CSS, and JS modules).
If you’re not too far in development, my advice would be to use any other theme in combination with a child theme. That way, you can always make necessary customizations in the future. If you need help with this, please feel free to reach out!