jeroennoten / Laravel-AdminLTE

Easy AdminLTE integration with Laravel
MIT License
3.78k stars 1.08k forks source link

[QUESTION]: AdminLTE color style configuration and role based menu #1249

Closed Zisou1 closed 4 months ago

Zisou1 commented 5 months ago

i'm using adminlte , laravel . i'm a beginner , when changing the topnavbar color the red , the widgets and the username dropdown text , are in black , how can i change the text and widget color to white so that the contrast works great .

i want also to change the color of the topnav of the sidebar if it's possible to the same red as the navbar . also when using the adminlte.php config file and adding menu items , i want for example to show some menu items only if they have admin role , but i can't put conditions inside the adminlte.php file , how can i do that ?

Thank you very much for you time .

dfsmania commented 5 months ago

@Zisou1 You can't customize any colors you want, but there are some color configurations supported. To play with the supported color variants, use the AdminLTE v3 Demo Page, open the right sidebar menu, and play with the bottom options, as seen in the next image:

Screenshot 2024-02-13 at 12-13-03 AdminLTE 3 Dashboard

When you find a combination that satisfies you, then you can use the classes option on the adminlte.php configuration file to setup it, for this read the Wiki documentation: Layout And Styling Config / Admin Panel Classes, particularly the classes_sidebar and classes_topnav options.

For a role based menu, try reading next options to see if anything matches your goals:

Or search the closed issues, you'll probably find an answer for your case there:

https://github.com/jeroennoten/Laravel-AdminLTE/issues?page=1&q=is%3Aissue+is%3Aclosed+role+menu

dfsmania commented 4 months ago

Closed due to no feedback!