7 ms·
Ask HN: Why can't I see downvote or upvote arrows anywhere?
- covgjai 13y agosame here
- danielhunt 13y agoI thought my account had been restricted, and came to post this exact question too
- danielhunt 13y agoAaaand they're back. slinks off into the shadows
- OseOse 13y agoIf anyone is still not seeing them, do a hard refresh (Ctrl+F5).
- josephagoss 13y agoCtrl+F5 is amazing, how have I been developing websites without knowing this?
- shabble 13y agoIn Chrome at least, having the devtools panel open[0] disables {all,most,some,infuriatingly inconsistent} parts of the cache system, so every refresh is a 'hard refresh'[1]. [0] Might be an option in the dev-tools settings, but I think it's enabled by default. [1] Except when it's not, of course.
- josephagoss 13y agoThis is true, and I always have that option checked. But if I am on a site that seems to be loading the old cached stuff during my regular browsing of the internet (not building stuff) I always open dev tools and refresh to do a "hard" refresh. But learning that CTRL-F5 does the same thing is really neat, and I feel very silly at the same time!
- thejosh 13y agoYou should also do CSS versioning if you are pushing to a live website, like main.css?v=2 or something so that users (well, mainly nitpicky clients) will always see the latest.
- Shivetya 13y agocommand - R for Firefox on OS X
- smcl 13y agocommand - shift - R on Chrome\OS X
- alphakappa 13y agoShift + Cmd + R (on Chrome,OSX)
- pointernil 13y agoMaybe an update across css js htlm not synced up due to caching issues? Evidence: enforcing a full reload (ctrl-r in chrome) reloads the page and the arrows reappear. Also in the last few days the word "upvote" used to flash on the page before being replaced by the arrow indicating some css/js sorcery at work ;)
- MichaelTieso 13y agoThis worked for me.
- munimkazia 13y agoI couldn't see them for comments too. Did a hard refresh (ctrl+f5), and they came back. Probably some CSS change.
- nish1500 13y agoI think they made it high res now
- lelf 13y agoNew CSS? @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { .votearrow { background-size: 10px; background-image: url("grayarrow2x.gif"); } } .rotate180 { -webkit-transform: rotate(180deg); /* Chrome and other webkit browsers */ … It wasn't like that before, there were only gray{arrow,down}.gif Forced refresh should help.
- Achshar 13y agoWhy can't pg use css triangles? They are vector look pretty when zoomed in or on scaled displays.
- false 13y agoThis makes upvote a CSS triangle. Could be extended for downvotes as well. /* 13.328px = 1em */ .votearrow[title=upvote] { background: none !important; } .votearrow[title=upvote]:after { content: ''; display: block; position: relative; top: -1px; width: 0; height: 0; border: .3em solid transparent; border-bottom: .6em solid #999; }
- kogir 13y agoI considered these, but just like unicode glyphs, there are a lot of places they don't work.
- jusben1369 13y agoForced refresh did work. Thanks.
- prezjordan 13y agoLooking good on retina now!
- kunai 13y agoThanks so much. The problem's fixed for me.
- 13y ago
- Sami_Lehtinen 13y agoHow about changing those arrows from images to symbols? As far as I remember there has been posts about this same topic earlier.
- kogir 13y agoDoesn't work in a surprising number of places. You simply can't count on people/devices having decent fonts.
- Fundlab 13y agoI have never seen a downvote button on my account and always assumed it was a privilege attached to a certain level of Karma. Someone enlighten me please
- SideburnsOfDoom 13y agoYou are correct. However even users who should see downvote arrows did not see up or down arrows this morning. But a force-refresh fixed this.
- spupy 13y agoWho are the users who should see downvote arrows?
- SideburnsOfDoom 13y agoI don't know the exact rules, but it looks like it's a certain quantity of karma points. If so, it's more than 200, and less than 1200.
- Blahah 13y agoI got my downvote arrows at 500 karma
- tehwalrus 13y agowhen I had karma above about 800 or 900, downvote arrows appeared. This was recently. the exact number changes to allow for "karma inflation".
- teleclimber 13y agoKarma inflation, eh? How does that come about? Is it the result of HN becoming more popular? More readers and same size front page means more readers per post, so more votes per post, so an individual accumulates karma more quickly?
- shortformblog 13y agoReload the CSS file: https://news.ycombinator.com/news.css https://news.ycombinator.com/news.css Was having that problem, changed that, and it worked.
- stesch 13y agoPutting something into this URL could help. <link rel="stylesheet" type="text/css" href="news.css?1382794165">
- philsnow 13y agoI don't recall off the top of my head -- does a ?1 on the end of a URL force re-fetching always, or would the browser re-fetch news.css?1 once and then subsequently use the cached version? If it always forces re-fetch, then an alternative is to bake the timestamp or hash into the filename (so news-1382794165.css), and update the html generation to point to the new timestamp/hashed file name. Then the browser will fetch newly generated css (etc) exactly once (modulo cache eviction/clearing), and without a force-refresh.
- riffraff 13y agothe latter (fetched once) , but different behaviours in browser/proxies made foo-xx.css a more reliable trick
- nso 13y agoOr the one I prefer, /Static/<vXX>/Css/Style.css. You rewrite all /Static/<vXX>/* URLs on the serverside to /Static/*. You could create a helper function which inserts the version number in URLs for static files, and use relative paths for images in the CSS file.
- philsnow 13y agoI like that too, seems cleaner I don't like "Css" though. If it's an acronym it should either be all capitalized or all non-capitalized.
- spoiledtechie 13y agoYour lucky enough to post. My account has actually been banned from posting anything new. All I can do is comment and vote. I can't submit.
- mchannon 13y agoFor Safari users, hold down shift and click the reload button. (Might work on other platforms as well).
- joeblau 13y agoCommand + R (If you're on a Mac) or whatever you do to refresh.
- josephjrobison 13y agoNothing is working. Chrome on Mac
- joeblau 13y agoYou might need to clear your browser cache.
- denzil_correa 13y agoDoes this affect browser extensions or mobile/web applications which were developed for Hn?
- cheeaun 13y agoRelated issue regarding the new CSS https://github.com/HackerNews/HN/issues/5 https://github.com/HackerNews/HN/issues/5
- 31mamun 13y agoHow concerning dynamical those arrows from pictures to symbols? As so much as I bear in mind there has been posts concerning this same topic earlier. http://olmate4x4.com.au/ http://olmate4x4.com.au/
- pajju 13y agoWe need to reload the New-CSS-file, because that older-version i.e stale-CSS file is causing this issue! How to fix it? <link rel="stylesheet" type="text/css" href="news.css?1382794165"> Copy-Paste the above into your address bar & Reload HN. The new CSS file will be Rendered and issue fixed. Hope that helps. :)
- dm2 13y agoCtrl + F5 should work. I normally append "?v=1.5" to my css and javascript files to allow for easy cache updating. Then just manually increase the version when you've made changes.
- veeti 13y agoIs it just me, or is there more padding between posts too?
- granttimmerman 13y agoThis is extremely relevant: https://github.com/HackerNews/HN/issues/5 https://github.com/HackerNews/HN/issues/5