logo hide

1205a month ago

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

Thanks

Turbovixa month ago

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

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

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

1205a month ago

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

1205a month 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 month ago

What you want is only possible by modifying the code

1205a month ago

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

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

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

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

1205a month ago

Thank you very much for your help.