Closed MaxiMechEng closed 1 year ago
you can style sidebar buttons with CSS, and the icons are fontawesome so those should theoretically be switchable (albeit possibly hard coded)
sorry for the late response, but how do I style the sidebar buttons with CSS? I'm fairly new to the whole topic
You can use Button Syntax to define sidebar items. Have a look at the Icons section of the documentation.
If you have the line Startseite|<i class="fa fa-home"></i> Startseite
in MediaWiki:Tweeki-sidebar-left
the button will be shown with a home icon.
You can search for available Font Awesome icons here.
One easy way to get grey buttons would be to change MediaWiki:Tweeki-sidebar-left-btnclass
to this: btn btn-secondary
.
The result of the two above should look like this:
Hi,
is it possible to change the background colour of the buttons in the sidebar? I haven't found anything on it in the how-to section or other tutorial-like sections. In addition to that: Is it possible to add little images into those buttons? (similar to the attached screenshot for example)
Thanks in advance!