Cookie consent settingsAccept all
  • Skip to header bar
  • Skip to main navigation
  • Skip to page tools
  • Skip to work area
  • New process
  • Overview
    • Files
    • Processes
    • Ratings
    • Recommendations
    • WikiExplorer
    • Workflows
  • Login
Main navigation contains tabs, main links and MediaWiki sidebar
Entrypoints
  • Main Page
  • Pages
  • Books
  • Blogs
  • Recent changes
Quick Links
  • All topics
  • Video-Tutorials
  • Templates download
Documentation
  • Security Advisories
  • Installation
  • Releases
  • Software catalog
  • Trust & Safety
Books
  • User manual
  • Admin manual
  • Semantic MediaWiki basics
Participate
  • BlueSpice community
  • Manual
  • Extension
    • BlueSpiceDiscovery
      • Main navigation
        • Icons
        Last edited 4 weeks ago
        by Redaktion

        Icons

        Revision as of 10:12, 21 May 2025 by Redaktion (talk | contribs)
        (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

        Add icons

        You can assign individual symbols to the navigation links in the main navigation by adapting the styling using CSS. Let's say you have a link named Softwarekatalog.

        BlueSpice unterstützt Bootstrap Icons und Font Awesome free.

        Let's assume you have a Link called Softwarekatalog.

        To add a book icon with Font Awesome:

        1. Open the page MediaWiki:Common.css in edit mode.
        2. Add the following lines at the end of the page.
        3. Save the page.
        a#n-Softwarekatalog::before {
            content: '\F02d';
            font-family: fontawesome;
            margin-left: -20px;
            padding-right: 4px;
            vertical-align:middle;
        }
        

        The link is now displayed with a book icon.

        Custom icon
        Custom icon


        Alternatively, you can use a bootstrap icon:

        a#n-Softwarekatalog::before {
            content: '\F194';
            font-family: bootstrap-icons;
            margin-left: -20px;
            padding-right: 4px;
            vertical-align:middle;
            
        }
        

        Reload the page or empty the browser cache (F5 on the keyboard) if the changes are not immediately visible.

        If your link label includes special characters, you need to follow the instructions for navigation links with special characters.

        Navigation links with special characters

        If the text for the menu items contains special characters, they are converted in the HTML code of the page. In this case, right-click on the corresponding entry and, depending on the browser used, select "Inspect" or similar.

        Developer toolbar
        Developer toolbar


        For example, if you want to display the link description Introduction to Semantic MediaWiki with the book symbol, copy the value from the link ID and paste the following formatting instruction in MediaWiki:Common.css:

        a#n-Softwarekatalog::before,a[id="n-Einf.C3.BChrung-Semantic-MediaWiki"]::before  {content: '\e970';
            font-family: 'entypo';margin-left: -20px;
            padding-right: 4px;vertical-align:middle;
        }
        

        After saving Common.css and reloading the page you now see the selected icon.



        PDF exclude - start

        To submit feedback about this documentation, visit our community forum.

        PDF exclude - end
        Retrieved from "https://en.wiki.bluespice.com/w/index.php?title=Manual:Extension/BlueSpiceDiscovery/Main_navigation/Icons&oldid=11722"
        No categories assignedEdit
        Page actions and tools navigaiton contains tabs, toolbox and actions
        Actions
        • Refresh
        • Copy URL
        • E-Mail
        • QR code
        Details
        • View history
        • Page information
        • Browse properties
        • ... all actions
        • Privacy policy
        • Terms of service
        • Disclaimer
        • Imprint
        • Accessibility
        • About
        • Analysis service
        • Edit preview settings
        • Powered by MediaWiki
        • Powered by BlueSpice
        • Powered by Semantic MediaWiki
        • Creative Commons License