logo hide

12053 months ago

hi,
My question is how to hide the blue on the left half of the 5.9 homepage

Thanks

Turbovix3 months ago

Hello, just edit the LoginLayout.jsx file, and comment out the following line:

//    background: theme.palette.primary.main,
Cristian3 months ago

Did you test the primary color server attribute? It should allow you to change the color

12053 months ago

Hello, are you sure you can find this file in version 5.9

12053 months ago

What I want to do is not just change the color, I want to make the blue part on the left disappear completely, leaving only the white part on the right to fill the page

Cristian3 months ago

What you want is only possible by modifying the code

12053 months ago

But now I don't know which part should be modified, I can't find it

Cristian3 months ago
12053 months ago

thank you very much for your help

I am new to traccar, and when I deploy this service in linux, isn't the folder automatically created under /opt when I execute the./traccar.run command? I don't quite understand the relationship between the file you sent and LoginLayout.jsx and those automatically created files

Anton Tananaev3 months ago

You should read the documentation here before you attempt customizing the code:

https://www.traccar.org/build/

12053 months ago

Thank you very much for your help.