Edit template for page top bar
Hi,
I’m trying to re-position some of the top bar elements and to add new ones. I’ve found the code in /inc/template-function.php file and did necessary changes but nothing happens on the frontend side.
The question is, if this is the right file to edit and am I missing any step?
Thank you in advance!
BR,
Alex
Replies (3)
-
February 6, 2021 at 5:26 pm
Hi,
I’m trying to re-position some of the top bar elements and to add new ones. I’ve found the code in /inc/template-function.php file and did necessary changes but nothing happens on the frontend side.
The question is, if this is the right file to edit and am I missing any step?Thank you in advance!
BR,
Alex -
February 8, 2021 at 5:22 am
Hi Alex,
Yup, you are right. The only thing you need to keep in mind is the header style.
I can see you’re using the header style 2 so you need to edit the function krystalpro_header_style_2
which is in line number 174Let us know if you have any questions
Best Regards
-
February 8, 2021 at 5:11 pm
Yep, this resolved the issue. Thank you very much, this was a great help!
BR,
Alex -
February 9, 2021 at 4:04 am
You are welcome 🙂
Best Regards