Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By Ronald Roe

Thread: Not able to view updated style.css online

  1. #1
    WHM
    WHM is offline
    Junior Member WHM's Avatar
    Join Date
    Jun 2017
    Posts
    20
    Member #
    56722
    Liked
    1 times

    Current Rating

    Visual Appeal:
    4.0 out of 5

    Accessibility:
    3.0 out of 5

    Website Speed:
    4.0 out of 5

    Compatibility:
    4.0 out of 5

    Overall Rating:
    4.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    Exclamation Not able to view updated style.css online

    I have made some changes in style.css and when I upload it online I am not able to see full style.css codes i.e it displays only half of codes from style.css. The online link is as follow: http://www.redlook.in/css/style.css

    I cleared browser cache, DNS cache and tried ctrl+F5 but the problem still persists. How can I rectify this?

  2.  

  3. #2
    WHM
    WHM is offline
    Junior Member WHM's Avatar
    Join Date
    Jun 2017
    Posts
    20
    Member #
    56722
    Liked
    1 times
    I solved that issue on my own. I changed the css file only. I created another css and uploaded the style.css codes on that. Now it is working.

  4. #3
    Junior Member
    Join Date
    Jun 2017
    Location
    Edmonton
    Posts
    11
    Member #
    56755
    Liked
    2 times
    When you want to make sure you are not caching a page, open up the browser inspector and disable cache in the network tab. Keep the inspector open!

  5. #4
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Alternatively, you can just add a query string to the end of the stylesheet's address. It can be literally anything, as long as it's different. The browser will assume it's been updated and download the new one.

    Like so:
    HTML Code:
    <link href="http://mysite.com/styles.css?douche=bag" />
    AlphaMare likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:24 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com