Post by CodyHill » Wed Mar 25, 2020 2:59 pm

Hi,
I want to add a new button ( Contact ) in the header top bar. And I don't how to do it. The theme that I am using is Fastor.

I tried to go to plublic_HTML > catalog > view > theme > fastor > template > common and I search through all the following files.
header.tpl, header.twig, home.tpl, menu.tpl. I could not find anything, infect header.twig is empty.
This is an ss of the header.tpl
Image

What I did find is a nav tag with the links that I was looking for in plublic_HTML > catalog > view > theme > DEFAULT > template > common.
I added a new ul with the a tag but it still not works.
Image

Attachments

header.png

header.png (92.92 KiB) Viewed 522 times

nav.png

nav.png (94.72 KiB) Viewed 522 times

header.png

header.png (162.76 KiB) Viewed 522 times


New member

Posts

Joined
Mon Jan 13, 2020 9:43 pm

User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by CodyHill » Wed Mar 25, 2020 10:04 pm

Yes, I did

New member

Posts

Joined
Mon Jan 13, 2020 9:43 pm

Post by straightlight » Wed Mar 25, 2020 10:07 pm

Switch back to the default theme and see by editing a TWIG file and clearing all caches if it makes a difference as compared to the custom theme you are using.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 16 guests