horilla-opensource / horilla

Horilla is a free and open source HR software.
https://www.horilla.com/
GNU Lesser General Public License v2.1
161 stars 107 forks source link

CSS changes made locally are not reflecting in the browser. #325

Open rahul9852-dot opened 2 weeks ago

rahul9852-dot commented 2 weeks ago

Bug Report

I have installed the project on my local system, and everything is working fine. However, when I make changes to the CSS files, the updates are not reflecting in the browser. I checked the style.min.css file inside the build folder, and it’s not updating with the new color changes I've made. I’ve been trying to find a solution but haven’t had any luck. If anyone could help me resolve this issue, it would be greatly appreciated.

horilla-opensource commented 2 weeks ago

Hi @rahul9852-dot , Can you run the collectstatic command and try again ? python3 manage.py collectstatic

With Regards, Team Horilla

rahul9852-dot commented 2 weeks ago

Already run still didn’t work. Is there any specific command needed to serve the compiled min file . how it's generating the min file . actually while cloning the repo i have already seen that build folder was there.

centaurusgod commented 1 week ago

Bug Report

I have installed the project on my local system, and everything is working fine. However, when I make changes to the CSS files, the updates are not reflecting in the browser. I checked the style.min.css file inside the build folder, and it’s not updating with the new color changes I've made. I’ve been trying to find a solution but haven’t had any luck. If anyone could help me resolve this issue, it would be greatly appreciated.

Can you go to debugging console in the browser and verify the correct path for the css? There are actually 2 folders static and staticfiles, verify the correct path of css and make change to the css file again and see if it reflects the changes.

rahul9852-dot commented 1 week ago

If possible can we connect for few minutes . I have tried the approach which you have mentioned above.

centaurusgod commented 1 week ago

Sure, let'c connect. Here's my email address link: https://1ty.me/ls2v0eP (Click view note)

horilla-opensource commented 1 week ago

Hi @rahul9852-dot , Were you able to sort this out?

With Regards, Team Horilla

rahul9852-dot commented 1 week ago

Not resolved hope today it get's resolved

horilla-opensource commented 1 week ago

Hi @rahul9852-dot , Rather than updating the style.min.css, please update the style.css (static/css/style.css) and try again. Once you make the changes, run the collectstatic command and re run the server.

With Regards, Team Horilla

rahul9852-dot commented 1 week ago

@horilla-opensource I have tried the above approach you have mentioned but it's not working.

Screenshot 2024-09-09 at 5 30 58 PM Screenshot 2024-09-09 at 5 31 05 PM

See i have tried to change at the both place update the index html but it's not working as expected.

horilla-opensource commented 1 week ago

Hi @rahul9852-dot , Please contact us at support@horilla.com (either through mail or on skype). Our support team will help you rectify the issue.

With Regards, Team Horilla

rahul9852-dot commented 1 week ago

Okey

On Wed, 11 Sep 2024 at 3:01 PM, Horilla @.***> wrote:

Hi @rahul9852-dot https://github.com/rahul9852-dot , Please contact us at @.*** (either through mail or on skype). Our support team will help you rectify the issue.

With Regards, Team Horilla

— Reply to this email directly, view it on GitHub https://github.com/horilla-opensource/horilla/issues/325#issuecomment-2343131448, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZARLIO67HLQ3WWRBBJX6DZWAEW7AVCNFSM6AAAAABNYGANEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBTGEZTCNBUHA . You are receiving this because you were mentioned.Message ID: @.***>