Reviewed & tested by the community
Project:
Adminimal - Responsive Administration Theme
Version:
8.x-1.7
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2020 at 16:45 UTC
Updated:
6 Jun 2025 at 12:03 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
dharti patel commentedComment #3
dharti patel commentedHello @Pnoia,
I've checked this issue in my local setup but I've not found the toolbar icon missing on active state.
Can you please find attached screenshot for the same.
Thanks
Comment #5
himanshu_jhaloya commentedHi @Dharti Patel I am reviewing #3
Comment #6
himanshu_jhaloya commentedI've checked this issue no icon missing
Comment #7
himanshu_jhaloya commentedComment #8
matas.k commentedThis is an issue in D10.
adminimal_theme/css/adminimal.cssat line 759 looks for icons at given path e.g./core/themes/stable/images/core/icons/787878/puzzlepiece.svgand it gives 404./stable/because it has been removed https://www.drupal.org/node/3309392/core/misc/icons/787878/puzzlepiece.svgAlso the correct structure and pathing for the icons should be followed as shown here https://api.drupal.org/api/drupal/core!themes!stable9!css!toolbar!toolba... (under View Source) instead of absolute URL that breaks local/sub dir installations, which would also solve this: https://www.drupal.org/project/adminimal_theme/issues/2658148
E.g. go from Adminimal's:
To
toolbar.icons.theme.cssformat:Replace the absolute
/core/themes/stable/images/core/icons/787878/with../../../../misc/icons/787878/Comment #9
djsagar commentedCreated patch for toolbar menu icons issue.
Kindly review.
Regards!
Comment #10
matas.k commentedPatch works. Thanks.
Comment #11
thatguy commentedNoticed "page not found" errors with Adminimal trying to use the core stable paths for the icons. #9 patch fixed it nicely
Comment #12
shyam_bhattThis issue is related to Drupal 10.
Please check the below steps to reproduce this issue
It's because there is no
stabletheme existing in the core folder.So we need to update the background image path instead of "/core/themes/stable/images/core/icons/787878/file.svg" need to update "/core/misc/icons/787878/file.svg".
Please check the below code with the updated path.
Please check the updated patch. I have added interdiff file to compare #9 patch.
+Needs review
Comment #13
markusk commentedPatch from #12 works nicely and should be preferred over the patch from #9: the latter uses data URIs containing icons which seems unnecessary to me given that the icons reside in /core/misc/icons already. Moving to RTBC.
Side node: the patch from #3 fixes some CSS coding standard violations unrelated to this issue (while also introducing some new violations). These should be addressed separately.
Comment #14
joaopauloscho commentedPatch from #12 also works for us, thanks.
Comment #15
marc.groth commentedYep, patch #12 also working this side.
Drupal core: 10.1.5
Adminimal Theme: 8.x-1.7
Comment #16
trevorbradley commentedAnother thumbs up for #12.
Comment #17
rcodinaPatch on #12 works like a charm!
Comment #18
bbeversdorf commentedThere is also a reference to stable within the info.yml file. Here is a patch to map core's system theme to the (now contrib) seven theme. This should be applied alongside #12.
Comment #19
cicciobat commentedHi everyone, I made a patch that merge both the #12 one and the #18 one. Works on Drupal 10.3.1 and adminimal_theme 8.x-1.7.
Comment #20
tonytheferg commented#19 works. Thanks!
Comment #23
malcomio commentedPatch #19 doesn't apply cleanly because it was created from a site root.
I've taken the changes and applied them in https://git.drupalcode.org/project/adminimal_theme/-/merge_requests/17
It fixes the problem for me.
Comment #24
cicciobat commentedHi, I'm sorry for the mistake! I did it on the go when I was working but I'm happy to know that works!