Have brand text not link to index page

Hi! I use the X theme only for my blog, so I want the blog title in the navbar (the one with class “x-brand text”) to not link to my blog (translationgeek.de/blog/) but to the domain itself (translationgeek.de). Is there a place where I can change that?

Thanks!

Hi Veronika,

To achieve that, please add this custom JS under Theme Options > JS:

jQuery('.x-brand').attr('href', 'http://translationgeek.de/');

Hope it helps :slight_smile:

Perfect! Thank you so much!
Will this still be there if the theme gets updated in the future?

Hey Veronika,

Yes. Theme Options are saved in the database and it won’t get overwritten by updates.

Please just note that we do not guarantee future compatibility for all custom codes. Custom codes provided in this forum were only meant to be a guide to help users get started extending the theme.

We also have created Pro, an advanced version of X where you could build a custom header so cases like this is achievable without custom coding. If you can, I’d recommend that you upgrade to Pro especially that we could not always provide custom coding guidance.

Thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.