Edit template for page top bar

Alex 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

Replies (3)

  1. Alex 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

  2. Spiracle Themes 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 174

    Let us know if you have any questions

    Best Regards

  3. Alex February 8, 2021 at 5:11 pm

    Yep, this resolved the issue. Thank you very much, this was a great help!

    BR,
    Alex

  4. Spiracle Themes February 9, 2021 at 4:04 am

    You are welcome 🙂

    Best Regards

Post a Reply

Reply To: Edit template for page top bar
Your information: