logo hide

1205a year ago

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

Thanks

Turbovixa year ago

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

//    background: theme.palette.primary.main,
Cristiana year ago

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

1205a year ago

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

1205a year 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

Cristiana year ago

What you want is only possible by modifying the code

1205a year ago

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

Cristiana year ago
1205a year 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 Tananaeva year ago

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

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

1205a year ago

Thank you very much for your help.