After an update from SS4.0.3 to SS4.2.1, the custom menu icons won’t work anymore. Now it uses the fallback icon with the class “font-icon-circle-star”. The custom icons are placed in the themes folder.
Actually, $menu_icon_class is an additional option. $menu_icon still exists on LeftAndMain, which ModelAdmin extends from, so you should be able to use either
when i change the setting of private static $menu_icon its not changing in the cms … i’ve tried dev/build?flush=all …
flush=all and
flush=1
I’ve deleted everything in silverstripe-cache
i mistakenly set it to private static $menu_icon = “icons/banner.png”;
and although i’ve changed it to private static $menu_icon = “public/icons/banner.png”;
this is not refleceted in the browser inspector.
background-image: https://clientwebsitedomain.co.uk/icons/banner.png
default install site structure
public_html
app
public
icons
silverstripe-cache
themes
vendor
.htaccess {RewriteRule ^(.*)$ public/$1}