Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 7649c5a

Browse files
committed
Added frontend link css-styling example
1 parent ccf2b83 commit 7649c5a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

bundles/routing/dynamic.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,23 @@ configuration in the ``sonata_admin`` section of your project configuration:
667667
668668
See the `Sonata Admin extension documentation`_ for more information.
669669

670+
Styling
671+
~~~~~~~
672+
673+
Feel free to use your own styles. The frontend link button can be customized
674+
using the following example CSS rules:
675+
676+
.. code-block:: css
677+
678+
.sonata-admin-menu-item a.sonata-admin-frontend-link {
679+
font-weight: bold;
680+
}
681+
682+
.sonata-admin-menu-item a.sonata-admin-frontend-link:before {
683+
font-family: FontAwesome;
684+
content: "\f08e";
685+
}
686+
670687
Customize the DynamicRouter
671688
---------------------------
672689

0 commit comments

Comments
 (0)