How to Fix CSS Not Working in Your Website 👌 | Website CSS Not Updating Fix | HTML and CSS Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 2024
  • If you experience your CSS not being updated in your website, then this video should help you troubleshoot why it isn't updating. 🙂
    Hard Refresh shortcuts: www.filecloud.com/blog/2015/0...
    ➤ TIMESTAMPS
    00:00:00 - Introduction
    00:00:41 - 1: The correct website?
    00:01:08 - 2: Linked correctly to your CSS?
    00:01:27 - 3: Did you save the files?
    00:01:49 - 4: Do a "hard refresh"
    00:02:53 - 5: Clear the browsers cache
    00:05:06 - 6: Your CSS is being overwritten
    ➤ GET ACCESS TO MY LESSON MATERIAL HERE!
    First of all, thank you for all the support you have given me!
    I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
    I am now using Patreon and TH-cam Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
    I hope you will find it helpful :)
    Memberships: / @dani_krossing
    Patreon: / mmtuts

ความคิดเห็น • 83

  • @imobend
    @imobend 9 หลายเดือนก่อน +28

    thank you so much elon musk !

  • @davescorneroftheworld1147
    @davescorneroftheworld1147 ปีที่แล้ว +3

    I did not know about the & until I watched this vid...... Today... YES TODAY... I clicked the refresh button the the browser and nothing happened... I hit the & and guess what the CSS reloaded just like it was supposed to!!
    THANK YOU SO MUCH!!!!!!!!!!!!!!

  • @angeloserenuela4065
    @angeloserenuela4065 หลายเดือนก่อน +1

    ITS WORK AND EVEN MY JAVASCRIPT IS NOT WORKING BUT WHEN I APPLIED THE CLEAR APACHE MY CSS AND JAVACRPT IS NOW WORKING! THANK SO MUCHH!

  • @Ben-zf8yk
    @Ben-zf8yk 8 หลายเดือนก่อน +3

    Blud answered my initiial question within the first minute. Thank you, and for also not making me feel dumb. Cool guy, great vid!

  • @ryanp.cepada6265
    @ryanp.cepada6265 9 หลายเดือนก่อน +1

    Thank you, Sir! I know I didn't do any abvious mistakes that made my css not working so I tried the hard reset and now it's working already. God bless you, Sir!

  • @Mudi2783
    @Mudi2783 ปีที่แล้ว +2

    Oh god... Fixed another big problem thanks to your video, thank you🙏 I have about 40 files already inside my project and seriously forgot to link my reset styleheet🤭 Now I have to fix everything that is staggerd, but I finally understand why my website only looked right in one browser and not in the other! Being a beginner is so fun sometimes🥴

  • @jasonholanda2506
    @jasonholanda2506 ปีที่แล้ว +1

    Thanks man, it worked. You're a life saver

  • @che5738
    @che5738 5 หลายเดือนก่อน +2

    The hard refresh worked, thanks danny

  • @bezzodark7317
    @bezzodark7317 29 วันที่ผ่านมา +1

    thank u man! u literally saved my day hope u a nice day !

  • @maelppmo
    @maelppmo 11 หลายเดือนก่อน +1

    AMAZING AS ALWAYS!!! THANK YOUUUU!

  • @emisday
    @emisday 11 หลายเดือนก่อน +1

    Thanks Dani! I had not updated my MAIN.CSS file to my server. Only the HTML.

  • @JSteinhaus
    @JSteinhaus หลายเดือนก่อน +1

    Awesome work, thank you!

  • @sssswerth5323
    @sssswerth5323 หลายเดือนก่อน

    Thank you so much for the F5 hard reload tip! It worked wonders and solved my main problem :D

  • @manavbhatt8663
    @manavbhatt8663 7 หลายเดือนก่อน +1

    OMG THANK YOU SOOO MUCH BUDDY U HELPED ME WITH MY PROJECT❤❤❤

  • @Daedric_
    @Daedric_ 4 หลายเดือนก่อน +1

    Well thank you for uploading that video. It was very useful for me. Because after I watched so many videos I finally figured out that I just misspelled one compound word. So I'll give you the credit sir. Because this is your accomplishment. Thank you.

  • @zaavn
    @zaavn 17 วันที่ผ่านมา

    dude, thank you very much. The ctrl+f5 helped me

  • @jamaliemiller3447
    @jamaliemiller3447 9 หลายเดือนก่อน

    Literally, the first solution was my problem. Not linked to the CSS properly and yes I've subscribed.

  • @ideasunbox4231
    @ideasunbox4231 24 วันที่ผ่านมา

    Thank you .. the cache clearing worked

  • @gellerttamas3159
    @gellerttamas3159 ปีที่แล้ว +1

    Much appreciated dude♫
    Big thanks ;)

  • @justvibing22
    @justvibing22 3 หลายเดือนก่อน

    thank you so much. i just tried ctrl + f5 and it worked

  • @eugenecycling184
    @eugenecycling184 5 หลายเดือนก่อน +1

    fixed my problem thanks to your resourceful video, TH-cam is indeed a school hiding in plain sight

    • @tofunmiadeolu
      @tofunmiadeolu 5 หลายเดือนก่อน

      i tried but is not working

  • @user-vh8qq5wq8n
    @user-vh8qq5wq8n 3 หลายเดือนก่อน

    thanks bruh! The hard refresh is working

  • @x.icon_flawless
    @x.icon_flawless 3 หลายเดือนก่อน

    Thanks the hard refresh worked for me

  • @user-ir6rt5ne9q
    @user-ir6rt5ne9q หลายเดือนก่อน

    Thank you thank you your method work perfection

  • @topgear81
    @topgear81 ปีที่แล้ว +5

    A trick, if you're using php is to append random digits to the css path using mt_rand() when importing. For example:
    echo "";
    This allows the stylesheet to reload each time.

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว +2

      Yea that is great for development, you just need to make sure you remove it again once you upload your site. 🙂

  • @young_youth
    @young_youth หลายเดือนก่อน +1

    thanks for your efforts.

  • @MilanB
    @MilanB ปีที่แล้ว +4

    Maybe off topic, what do you think about chat gpt and AI involment in multimedia field especially in web design and web dev. Will it replace the need for developers and designers? Curious about your thoughts on this..

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว +6

      I know as much about Chat GPT as most other people who have been watching TH-cam videos on it. So I am in no way an expert who has any sort of insight knowledge. 🙂
      However...
      All this talk about "Char GPT replacing artists and multimedia developers", is not something I think people should be scared about. 🙂
      And just to be clear... When I say "not to be scared about it", I don't mean that "AI won't replace a lot of multimedia tasks", because that is absolutely going to happen at one point in the future in one form or another.
      What I mean by it, is that technology has always been evolving ever since technology was created, and there has ALWAYS been new inventions/software that people were afraid would "put people out of work".
      It is not a question about AI taking over our jobs... It's a question about whether or not we evolve with the technology. 👈
      It's important to remember that Chat GPT also require tech knowledge to use. 😅 It's not as easy as when you "ask Siri" on your iPhone hehe. And even when you ask Chat GPT to "generate a website for you", then you STILL need someone with actual web experience to look through whatever Chat GPT spits out...
      Ordinary "non-tech people" won't know how to use Chat GPT hehe. 🙂 And companies WILL still need a "multimedia person" to be in charge of the AI that is being used. 👏
      And I think that a lot of people completely neglect that point entirely, when they start their doomsday preaching about how "Chat GPT will kill the tech job market". 👆
      Yes... If you completely ignore the ever changing tech industry... Then you will be put out of a job eventually. It is important to stay up to date, so that when the day come where companies no longer look for a "web designer", but instead are looking for a "Web Designer with Chat GPT experience", that you prepared yourself enough to be able to apply for those positions. 🙂
      AI won't "kill the web development industry"... It will only "change what the web development industry means".
      Work WITH the technology. 🙂 Not against it.

  • @Bhavin_OP
    @Bhavin_OP 5 วันที่ผ่านมา

    Thank you so much bro love you from India❤❤

  • @zxtqwwr0
    @zxtqwwr0 4 หลายเดือนก่อน

    I've moved my static page to another PC and forgot to turn on Auto Save on VS code, though something was wrong with my relative path.. spend the last 2 days searching for a solution to find out i am an idiot.. thank you very much !

  • @michaelekemode3695
    @michaelekemode3695 ปีที่แล้ว +1

    First view, and first like and first comment❤ love your stuff dude keep it up

  • @nprider732
    @nprider732 26 วันที่ผ่านมา

    ❤ thank you so much bro

  • @shakhobiddinnakiev6767
    @shakhobiddinnakiev6767 ปีที่แล้ว

    heey maaaaan thank you biggeeeest, ctrl+f5 worked perfectly!!!!!!!!!!!!!!!!!!!!! i spent my three days to find it ))!!

  • @sagarpradhan9743
    @sagarpradhan9743 9 หลายเดือนก่อน +1

    thanks "hard refresh worked !!!!"

  • @Loudakii
    @Loudakii ปีที่แล้ว

    Clearing history worked thanx

  • @somkeanochie8519
    @somkeanochie8519 ปีที่แล้ว

    I pushed my files to my github repository. My website is hosted as a github page. after building and deplyement using github my site still doesnt display all layer on the browser

  • @ValdeZ_Dev
    @ValdeZ_Dev 7 วันที่ผ่านมา

    Thank you!

  • @patacon1267
    @patacon1267 7 หลายเดือนก่อน +1

    thank you brother

  • @kaylaumali8361
    @kaylaumali8361 7 หลายเดือนก่อน +1

    Thankyou so much!

  • @cherrymaelargo4035
    @cherrymaelargo4035 4 หลายเดือนก่อน

    how do i fix if my html code is working but when it comes to css my styling goes not the ways it is the style is style horizontally idk what the problem is

  • @user-fk1nm5pc5g
    @user-fk1nm5pc5g 16 วันที่ผ่านมา

    THANK YOU VERY VERY VERY MUCH ❤️❤️❤️❤️

  • @carajanedorado9678
    @carajanedorado9678 ปีที่แล้ว

    Hi how about the @keyframes is not functioning in css?

  • @JasonJA88
    @JasonJA88 ปีที่แล้ว

    I use firefox Dev-tools so if i open style editor and i don't see it i know or wrong headers "text/css"

  • @robmccullougharts
    @robmccullougharts 8 หลายเดือนก่อน

    I am a newbie to building my own ecommerce site, for some reason my "Dismiss" option on my Store Notice has disappeared, I may of deleted it by mistake I don't know but I can't find a CSS code to fix the issue, I don't see the code in the Addition CSS and I'm really not sure how to get it back. I can put the Store Notice up and it works but no one can close it or remove it and it sits at the top and covers the menu so you can't maneuver around my site. Can someone tell me how to get the code or even if it is a code and how do I implement it back in my site. Thank you for your help.

  • @happyji2624
    @happyji2624 11 หลายเดือนก่อน +1

    Sir can you help me into this that my css is not working after despite of applying all methods I am really very bummed because of this problem please sir fix my issue 🙏

  • @user-xq1tz9xd8o
    @user-xq1tz9xd8o 8 หลายเดือนก่อน

    thankkk youuuu my goshhh , I only need just to hard refreshh my website HAHAHAHA

  • @masengeshobruno-ug1fj
    @masengeshobruno-ug1fj 4 หลายเดือนก่อน +1

    thank you bro

  • @josedonis3694
    @josedonis3694 14 วันที่ผ่านมา

    Bro i feel so dumb i cant believe it was cause i didnt save my files just pushed them into the repo 😂😂😂 thank u 🙏

  • @rishipatel8574
    @rishipatel8574 3 หลายเดือนก่อน

    Thank you bro

  • @shockearth4295
    @shockearth4295 7 หลายเดือนก่อน

    Thank you for this video. I know how to link a css styles page already however for some reason my code wasn't working none of the styles were applying to my html code. I was literally scratching my head why and then I stumbled upon your video. You will know if the styles will work if when you start linking the css the system starts pre-filling it in for you similar to when you look for something on google using predictive search results. My CSS wasn't working because I had the CSS file nested in another folder. after watching your video briefly I had a eureka moment and I slapped my forehead soft and was like "DUH" no wonder it wasn't working lmao. That was a rookie mistake for a seasoned html coder

  • @chikeziechinonso4671
    @chikeziechinonso4671 ปีที่แล้ว +1

    In PHP if CSS or JavaScript is not loading when u make a change u can use

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว +1

      Yes it's a nice workaround while developing. 🙂 Just make sure to remove it again when going live with the site.

  • @gokljr
    @gokljr ปีที่แล้ว

    Hi Dani , when will you upload the next php video?

  • @manishharsot1665
    @manishharsot1665 2 หลายเดือนก่อน +1

    Thenk you sir

  • @qadeermalik6244
    @qadeermalik6244 11 หลายเดือนก่อน

    thanx it works....

  • @birdbill888
    @birdbill888 5 หลายเดือนก่อน +1

    Didn’t save the css file lol… was stressed out for a good five minutes.

  • @nathanrudolph1011
    @nathanrudolph1011 ปีที่แล้ว

    @Dani_Krossing, I have a question for you. I am new to coding, and I am currently in college. I am taking a class, but the teacher refuses to teach and tells us to "Google" what we need to know. I am completely stumped on my current project and could use some help. Is there any way I could pick your brain?

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว

      You are always welcome to write a question in the comments. 🙂

    • @nathanrudolph1011
      @nathanrudolph1011 ปีที่แล้ว

      @@Dani_Krossing do you have a video that explains how to modify the Program.Main() method to request an integer number from the user for the number of words/text that a string prints/outputs to display on each line? And how do you create a local integer variable to store this number? For example, if I ask the user to select a number of words to display on each line, say 10-15. Then the program prints the number of words the user requests per line of text. So if the user inputs they want 10 words per line, then the program prints 10 words per line. I hope that my rambling makes sense.

  • @trunguc6711
    @trunguc6711 4 วันที่ผ่านมา

    thanks

  • @dancehalllyrics1303
    @dancehalllyrics1303 ปีที่แล้ว

    Daniel, jeg tror, du er kommet til at kopiere den forkerte beskrivelsestekst ind i beskrivelsen til videoen her.
    Ellers fed video som altid! :)

    • @Dani_Krossing
      @Dani_Krossing  ปีที่แล้ว +1

      Ah du har ret. 🙂 Mange tak for det 😊

  • @franklin3242
    @franklin3242 8 หลายเดือนก่อน

    No homo but God i love you. I cant believe I forgot the cache lol

  • @iipowerr2280
    @iipowerr2280 11 หลายเดือนก่อน

    My problem is that, my favicon doesn’t shows up, I have try every solution that I can find, but nothing works 😢, I don’t know if it has something to do with MAC or not, I guess I would come back later when I do learn everything about HTML and css

    • @Dani_Krossing
      @Dani_Krossing  11 หลายเดือนก่อน +1

      My best advise is to follow this guide: th-cam.com/video/Gpa780F9haQ/w-d-xo.html&ab_channel=DaniKrossing
      If it doesn't work, then the typical reasons are that you need to "hard refresh" the browser, you are using a incorrect image format, or you accidentally linked incorrectly to the image.

    • @iipowerr2280
      @iipowerr2280 11 หลายเดือนก่อน +1

      @@Dani_Krossing thanks man!! I really appreciate the help!!

  • @catharperfect7036
    @catharperfect7036 ปีที่แล้ว +1

    So my problem turned to be that I was trying to make my HTML code look neater, so I turned the bootstrap stuff at the top into two lines. For some reason it doesn't like that....1.5hours of my life I'll never get back. But at least I learned some things from you.

  • @djonimoni2815
    @djonimoni2815 4 หลายเดือนก่อน

    pozdravi ot denkata

  • @yousifky
    @yousifky ปีที่แล้ว

    Second 😂❤

  • @agnostikidn3426
    @agnostikidn3426 4 หลายเดือนก่อน

    I almost do a kungfu to my monitor

  • @KaidouGamePlay
    @KaidouGamePlay 5 หลายเดือนก่อน

    mdf I thought I was stupid I tried another browser and it works *_* smh

    • @Dani_Krossing
      @Dani_Krossing  4 หลายเดือนก่อน

      It’s because the other browser hadn’t yet cached the CSS file. So clearing the cache from the original browser, should get it working. 🙂

  • @jasonpeterson7986
    @jasonpeterson7986 8 หลายเดือนก่อน

    Mr. Programming Dude,
    I am thanking you very very much and I love your work.
    Keep it going.
    Do you like Juan Valdez coffee?
    Saludos from,
    Noob Programmer
    (^.^)

  • @Zierax
    @Zierax 4 หลายเดือนก่อน

    elon mask explain css ?

  • @tatendacushsibanda6718
    @tatendacushsibanda6718 4 หลายเดือนก่อน

    How do i put a 1000 likes on 1 video ☻? Thanks Dani

  • @user-vh8qq5wq8n
    @user-vh8qq5wq8n 3 หลายเดือนก่อน

    thanks bruh. the hard refresh is working!

  • @rahimnasr9349
    @rahimnasr9349 11 หลายเดือนก่อน

    thankyou bro