- This topic has 8 replies, 2 voices, and was last updated 1 year, 7 months ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
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.
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.
Unless, of course, you can achieve this goal through the CSS.
მართლა შესაძლებელია ვინმეს უთხრა პასუხი ამ კითხვაზე
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
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.
Hi Alex,
Please try to use this CSS snippet:
.home .entry-header a {
pointer-events: none;
}
Kind Regards
Vako!!! THANKS A LOT!!! Everything works like a charm! The problem has been resolved)))
Feel free to contact us at any time, we are more than happy to help.
Kind Regards