Where is the file to edit the top bar in the header?

Hello I want to add a php code in the top bar content of the header, so I need to edit the file instead of just typing html text in the “t_heme options top bar edit section_”.
Where it is in the theme files? (I’m using renew stack)

Thanks in advance! Is quite important and urgent!

Hi,

It’s in wp-content/themes/x/framework/legacy/cranium/headers/views/global/_topbar.php

If you would like to edit it, you need to copy that file to your child theme and do the change there. That way it will not get overwritten on theme update.

wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/_topbar.php

Hope that helps

1 Like

It worked perfectly!!!
Thank you so much

You’re welcome! :slight_smile:

1 Like

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