Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize admin panel on beta version #3604

Closed
bntnam opened this issue Jul 11, 2019 · 2 comments · Fixed by #3609
Closed

Customize admin panel on beta version #3604

bntnam opened this issue Jul 11, 2019 · 2 comments · Fixed by #3609

Comments

@bntnam
Copy link
Contributor

bntnam commented Jul 11, 2019

Describe the topic
Hello, I would like to customize the logo of Strapi and its background color. In the beta version, we do not have the admin folder anymore. As I read in the documentation, I can replace the logo image by passing the new one in this path ./admin/src/assets/images/logo-strapi.png. However, I don't see a way to change its color background. Does anyone have an idea? Thanks in advance!

Your suggestions for this topic
Would you mind if I make a PR to update the documentation for beta version when I have a solution? So it would help beginners really much.

@derrickmehaffy
Copy link
Member

@bntnam In the future please use the bug report or direct questions like this to the slack but since you offered to update the documentation related to modifying the adminUI you can see an example where I did just that in my own project: https://github.com/canonn-science/CAPIv2-Strapi/blob/development/admin/src/components/LeftMenuHeader/styles.scss

and the example image:
image

When you want to modify a file you can just follow the same structure as you saw in the docs here: https://strapi.io/documentation/3.0.0-beta.x/advanced/customize-admin.html#logo

In that you are replacing the files that would normally be in node_modules/strapi-admin/admin/src and directing them to admin/src/some/file/path

@bntnam
Copy link
Contributor Author

bntnam commented Jul 11, 2019

@bntnam In the future please use the bug report or direct questions like this to the slack but since you offered to update the documentation related to modifying the adminUI you can see an example where I did just that in my own project: https://github.com/canonn-science/CAPIv2-Strapi/blob/development/admin/src/components/LeftMenuHeader/styles.scss

and the example image:
image

When you want to modify a file you can just follow the same structure as you saw in the docs here: https://strapi.io/documentation/3.0.0-beta.x/advanced/customize-admin.html#logo

In that you are replacing the files that would normally be in node_modules/strapi-admin/admin/src and directing them to admin/src/some/file/path

Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants