Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP How to Build a WordPress Theme Extending WordPress Template Functionality Adding Content in Custom Places: Part 2

Dave Harlander
Dave Harlander
2,821 Points

Multiple Browsers

How do I get the css to update in multiple browsers and devices? I realize that it's going to be different no matter what is done but there are a few issues I would like to fix. One, the navbar displays vertically in Firefox and IE. Second, is there something I need to change to get the correct fonts in these browsers. The other is that the stylesheet doesn't seem to update when I view the page in a google chrome browser from a mobile device. I'm not exactly sure what is going on here as it seems to be reading my stylesheet correctly from my original files but when I make changes they won't update on the phone browser but will update on other browsers.

2 Answers

It sounds like you might need to clear your browser cache. The browser might not notice that the CSS document has changed and might be using an old cached version.

Andrew Shook
Andrew Shook
31,709 Points

Yeah, this sounds like either a browser or server side caching issue dave. The css for this project should work in IE 8+ and Pretty much every version of FF.

Dave Harlander
Dave Harlander
2,821 Points

Thanks. It's definitely a caching issue. The css is still goofy in FF and IE though. The fonts are working now but the navbar is still displaying vertically.