javascript - Stylesheet stopped showing my changes - django -


i'm working on new site , made quick css stylesheet give templates structure. edited stylesheet no problem.

i finished backend code , decided go , work on stylesheet more. when make changes stylesheet, none of changes reflected on webpage when reload page, instead continues show old styles. seem stuck @ point in time , don't change no matter stylesheet code.

here's relevant code:

stylesheet - css/screen.css:

#main-banner {     background-color:#dc3211;     color:white;     padding-top:50px;     padding-bottom:15px; }  #main-banner-text   {     font-size:35px;     text-shadow: 2px 2px 1px black;     color:white;     font-weight: bold; }  #main-banner a:link, #main-banner a:visited {     font-size: 14px;     color:white;     text-decoration:underline; }   /* navigation */ div.menu    {     height:10px;     background-color:49443a;     font-size:16px !important;     width:100%;     overflow:hidden;     white-space:nowrap; }  div.menu    ul  li    {     color:white;     text-decoration:none;     text-shadow: 0 0 3px black; } div.menu    ul  li  a:hover {     text-decoration:underline;     color:white; }  div.menu    ul  li  {     display:inline;     padding-top:15px;     margin-left:18px; }  .header-title {     font-size:16px; }  input.required, select.required {     background-color: #ffdddd; } 

header in template:

<head>         <title>yourpoolhub.com</title>         <link rel="stylesheet" href="{{ static_url }}css/blueprint/screen.css" type="text/css" media="screen, projection">         <link rel="stylesheet" href="{{ static_url }}css/blueprint/print.css" type="text/css" media="print">         <link rel="stylesheet" href="{{ static_url }}css/screen.css" type="text/css" media="screen">         <!--[if ie]><link rel="stylesheet" href="{{ static_url }}css/blueprint/lib/ie.css" type="text/css" media="screen, projection"><![endif]-->     </head> 

things i've tried

-clearing cache in browser.

-removing of code stylesheet see happen still displays same styles style sheet.

-when remove line in template:

<link rel="stylesheet" href="{{ static_url }}css/screen.css" type="text/css" media="screen"> 

the styles in css/screen.css go away, again, if kept line , removed code stylesheet old styles still show.

i hope i'm on looking something. appreciated.

oh , have in settings:

static_root = 'c:/users/anthony/desktop/newsite/mysite/static/'

static_url = '/static/'

alright figured out happening.

when went update style sheet going static root directory.

what didn't realize had static folder in 1 of apps , when ran collectstatic copied screen.css file static root directory.

so instead of updating original screen.css file updating copy in static root.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -