Davinci Header

ukdivision

New Member
Hi, on the top menu bar, with the SSL Secure image and the worldwide shipping image, can we have an option 'on click' to link from these to a URL please?
I know I can change the image but I would like to be able to link that image/seal to a secure website that can confirm who I am and/or a review site.

I can probably do that by editing the file but wondered if this could be in an update sometime?

Many thanks :)
 
E

Ekaterina Sayapina

Guest
Hi, on the top menu bar, with the SSL Secure image and the worldwide shipping image, can we have an option 'on click' to link from these to a URL please?
I know I can change the image but I would like to be able to link that image/seal to a secure website that can confirm who I am and/or a review site.

I can probably do that by editing the file but wondered if this could be in an update sometime?

Many thanks :)
I'm afraid this option is not available. You might want to check third-party services for these purposes.
 

Direct Webstore

Well-Known Member
Hi, on the top menu bar, with the SSL Secure image and the worldwide shipping image, can we have an option 'on click' to link from these to a URL please?
third-party services
That's me .. lol

I did this when I used Davinci before. You need to edit the header.php in the theme. Better to use a child theme or you will have to re upload it everytime the theme updates.

Like this .... it links to the page /shipping-delivery/

<div class="col-lg-20 col-md-20 col-xs-20 shipping"><div class="shipping-img"><a href="/shipping-delivery/"><img src="<?php echo cz( 'tp_img_right' ); ?>?1000" title="Free Shipping World Wide"></a></div>


I haven't got example code for the Mcaffee image as I replaced it with a Google translate box. Just search for the first part of that code above, replace it as above and do the same sort of thing with the security image.

Backup up the header.php first ... then start experimenting! :)
 

Direct Webstore

Well-Known Member
OK ... I did it for you. I downloaded the latest Davinci theme. Here's an edited header.php for you to unzip and upload. See attachment below.

The shipping logo links to a shipping page called /shipping-delivery/ ... either edit that in the header.php file with Notepad (Look for "shipping-delivery" in the file and change it to another page name) or change your shipping page to that name.

The Mcafee logo links to page called /privacy-policy/ .... again edit that in the header.php file if you wish another page.

Then upload the header.php via FTP or Control panel upload to wp-content/themes/davinci

If you don't want to edit the file ... rename your pages as above and just upload the file.

Done!

Don't forget to keep this copy to reupload after theme updates ... or make a child theme.

Let me know how it goes.

:)
 

Attachments

  • header.zip
    5.5 KB · Views: 4
Top