Board Thread:Support Requests - Designing Your Wiki/@comment-24530269-20171217160822/@comment-9605025-20180106175459

The first is not possible with CSS alone. You would need to use JS which I unfortunately cannot help you with. If FANDOM Open Source Library already has something for this, it would be easiest to use their solution. Typically, basic setup involves simply adding an import statement to MediaWiki:ImportJS. You can see and example here. If that wiki doesn't already have a solution, you will likely have to write your own JS (or have someone do it for you). In that case, it would go on MediaWiki:Common.js. Note that this would require the JS to go through the review process.

The second, just to be sure, is done using the theme designer and.

For the second: Note that this solution is for your current settings in the theme designer. If you change those, this CSS will need to change as well. Also note that once you do this, your other CSS just needs to be the following.