Adding new element in top navbar

Hello

i’ve been searching for this solution on google and this forum but no topic has solved my problem.

problem :
i want to add new php code after menu on the top nav bar, where i should input the php code ?

i seems to searching the file for a week and till now i cannot find the path where i can modified or add new php code element in top nav bar

here is my navbar layout :

im having trouble with custom modification with X theme but for begginer, x theme was extremely easy to use

(i’m sorry for my bad english)

thanks

Hi There,

You have to activate and install the child theme first:

After that copy this file to the child theme from the parent theme in the same directory(if they’re not existed, create them):

x/framework/legacy/cranium/headers/views/global/_nav-primary.php

Your custom code should be insert the <?php endif; ?>.

Hope it helps :slight_smile:

1 Like

Hello @thai

ahh there you go inside Legacy folder

thank you, you save my day

GBU

You’re welcome.

For the customization best pratice, please take a look at this:

Regards!

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