Board Thread:Support Requests - Designing Your Wikia/@comment-5558012-20160817151915/@comment-24473195-20160817153316

Interesting question (made me google). It doesn't currently seem possible with just CSS. Although you can always ask staff to backport this:

https://phabricator.wikimedia.org/T123156

The only other alternative is to provide CSS using javascript. If wikia does ever implement (a 2 line fix by the way), it would be something like:

.pageroot-Foo :not(.page-Foo)

Edit:

There are however hacky CSS ways to possibly do it.

Edit2:

Here you go:

This might not work in older browsers though, which is why the previous method is better.