Solved Templates

Remove link from logo

Asked by MoneyPeet 4 years ago Last activity 4 years ago

Hello,

is it possible to remove the link from the logo in the menu bar, like in this example: https://sppagebuilder.com/business-consultancy-home ?

The logo or text left in the menu bar has no link.
Could you tell me which file to change?

Regards, Peter

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
4 years ago · edited

Ad 1) If you have image logo and template based on Helix (3 or Ultimate) below custom CSS should help:

#sp-logo .logo, #sp-header .logo a {
    cursor: default !important;
    pointer-events: none !important; }

this works very well and nobody can click on the logo, so the link is disabled too. And you don't have to edit any file. 100% safe method and you can use it in Template Options - Custom Code - Custom CSS in few seconds.

4 more replies

Mehtaz Afsana Borsha Staff

Hi,

Thanks for contacting us. Could you please explain it more? Or if possible give me a demo of your issue please?

-Regards.

MoneyPeet Asked this

Hi,

Sure I can.
When you visit this website: https://sppagebuilder.com/business-consultancy-home and you hover over the text "Business Consultancy" in the menu bar on the left, there is no link.
Default this link goes to the homepage. I would like to remove the link.

Can you tell me which file I have to change the accomplish this?

Regards, Peter

Paul Frankowski Senior Staff

HI Peter,

you have two options:

  1. Use custom CSS and desactive link - so users won't be able to click on it
  2. OR customize template code (logo.php) file and cut off link code from it.

In our demo we used text logo type, it wasn't typical image logo.

MoneyPeet Asked this

Hi Paul,

the css code is working fine.
Thanks for the fast reply.

Regards, Peter

Log in to reply.