Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #64062
    Alex Yatskovsky
    Participant
    Premium Member

    How to remove the link from the logo on the main page, but leave it on the internal pages? I would also like to remove the link from the open position of the menu. I contacted the support service with these questions and received an answer that such an option does not exist in the themes, they advised me to look for some third-party plugins for this. I myself know that there is no such option in the themes, that’s why I’m asking. And adding new plugins does not interest me. I just would like to know how, what exactly and where, should I change in the code of the theme in order to achieve what I want.

    #64065
    Alex Yatskovsky
    Participant
    Premium Member

    I found a solution how to remove cyclic links from the menu. It is enough to add the following code to the CSS of the child theme:

    li.current-menu-item {
    pointer-events: none;
    }

    Please tell me which current class (li.current…) should be used in the above code in order to remove cyclic links from the logo.

    #64066
    Alex Yatskovsky
    Participant
    Premium Member

    Unless, of course, you can achieve this goal through the CSS.

    #64067
    Alex Yatskovsky
    Participant
    Premium Member

    მართლა შესაძლებელია ვინმეს უთხრა პასუხი ამ კითხვაზე

    #64069
    vako
    Keymaster
    WP Royal Team

    Hi Alex,

     

    At first, sorry for the late reply, we had holidays.

    CSS class for the logo is “.header-logo a” please try to use it in your snippet.

    .header-logo a {
    
    pointer-events: none;
    
    }

    Kind Regards

    #64072
    Alex Yatskovsky
    Participant
    Premium Member

    Unfortunately it does not work, I probably did not clearly explain the problem when speaking about the logo. In fact, I don’t have any logo, but there is a website header. I meant exactly this – the picture and the inscription on it: “https://museum-cheremkhovo.ru”. This is exactly where I would like to disable link on the home page of the site.

    #64074
    vako
    Keymaster
    WP Royal Team

    Hi Alex,

     

    Please try to use this CSS snippet:

    .home .entry-header a {
    
    pointer-events: none;
    
    }

     

    Kind Regards

    #64075
    Alex Yatskovsky
    Participant
    Premium Member

    Vako!!! THANKS A LOT!!! Everything works like a charm! The problem has been resolved)))

    #64100
    vako
    Keymaster
    WP Royal Team

    Feel free to contact us at any time, we are more than happy to help.

     

    Kind Regards

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.