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

WordPress

Why can't I find the CSS stylesheet in my WordPress Admin?

Hi,

I'm trying to edit the appearance of the site www.joinblush.com. I have full access to the WP admin dashboard.

I'm able to edit the custom.css stylesheet by going to Appearance-->Editor; however this site is using other stylesheets that aren't visible through WordPress. Notably, I would like to edit the blog.css stylesheet.

I also have FTP access to the site and I can edit that way, but it's a huge pain. Also, for some reason, whenever I pull up the blog.css stylesheet this way, there are NO line breaks, which makes it almost impossible to edit in my text editor (TextWrangler).

Anyone have any advice? I'm a rookie at this and this site was developed by a third party developer. But in an effort to keep costs low, I'm trying to learn how to do some of the front-end edits on my own.

Thanks for any help you can offer!

4 Answers

Anne Hennegar
Anne Hennegar
9,164 Points

I just copied the code from http://joinblush.com/assets/stylesheets/blog.css?ver=201505070158 and then pasted it into an unmify app and it parsed nicely. I used http://unminify.com/.

Anne Hennegar
Anne Hennegar
9,164 Points

Not sure, but my guess would be something as mentioned in this article as it looks to be a timestamp.

https://css-tricks.com/can-we-prevent-css-caching/

Ryan Field
Ryan Field
Courses Plus Student 21,242 Points

I think this is the case as well. On a related note, this is really helpful when testing sites on mobile devices as they tend not to refresh CSS files (even after clearing the cache) until a certain amount of time has passed. By doing this, though, the file name changes, forcing redownload of the CSS if it is different from the previous visit.

Thanks Anne. I had never heard of an unmify app. That's super helpful.

Raises another question though, why does the css stylesheet have different versions?

Specifically, the "?ver=201505070158" at the end of the url.