Okay
  Public Ticket #1002280
Disable logo link in header
Closed

Comments

  • MyshaSantini started the conversation

    Hello,

    I wondered whether it is possible to remove the logo link in the header?

    It's really easy to accidentally click when you use the site on a mobile


    Thank you!

    Mysha

  •  8,993
    Tahir replied

    Hey Again,

    Please see: Change logo url link via JS code Globally.

    Simply change it to hash Symbol " # "

    Bes.t


    ThemeNectar Support Team 

  • MyshaSantini replied

    This worked perfectly, Thank you!

  •  5
    JuanDosCuartos replied

    Sorry to pop in, but could anyone of you two be please so kind to explain why such code was inserted in the Google Analytics field? Wouldn't it had to be put in the usual Custom CSS field?

    I'm thinking in doing the same and it sure would clarify my point since I'm no code guy but have to deal with such issues every once in a while...

    Thanks so much and sorry again for the intromission! ;)

  •  8,993
    Tahir replied

    Hey Juan , 

    What the Google Analytic Field does is place any code you put in the Field inside the head tag in header.php . So any script that needs to be run first in the Header can be placed there. 

    Best. 


    ThemeNectar Support Team 

  • aidi xu replied

    Thanks a lot for sharing this tip!!! I tried it out, it works for Chrome but not for IE. Is there any way to remove the header link entirely? 

  •  8,993
    Tahir replied

    @aidi ,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    #logo{
    pointer-events:none !important;
    }

    Thanks



    ThemeNectar Support Team