Board Thread:Support Requests - Getting Technical/@comment-28171460-20180123004325

Hello! I need help creating a CSS feature for my Wiki.

To give more context: I'm creating a navagation template for my wiki that looks like a tabber. On all subpages, there is a link back to the main page (it's in an element called "page-header__page-subtitle"). Because of the navagation template, this link is redundant. I'm looking for a way to remove the link back to the main page on every page that uses the navagation template. (I asked Fandom, and they said that implementing a feature like this should be okay.)



I found some code online that can remove the element "page-header__page-subtitle":

There are just two problems with this:
 * 1) This would remove "page-header__page-subtitle" from every page. I only want to remove the link on pages that use a certain template.
 * 2) When you get to a page by clicking a redirect, a message saying "Redirected from..." appears. This notice is also stored in "page-header__page-subtitle". I do not want to remove this message on any pages.

If you could help me with either of these two problems, that would be greatly appreciated! 