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

CSS

Finding and editing wp css file

I just started a wordpress site and would like to be shown how to find and edit the main css file. Thanks Keep Smiling reuben

5 Answers

Assuming that you're using the default theme (twenty fourteen). You could find the .css file under the wp-content folder, then navigate to the themes folder. Inside the themes folder open up the theme you are currently using (once again, if using twenty fourteen theme then click on that specific folder). Once in this theme folder open up 'style.css'. Style.css is usually the default stylesheet for a theme. Hope I helped, Good luck!

I want to thank you for answering me. But the solution isn't there. The problem that I am having is that when I put a post url into bing seo Analyzer I get 5 <h1> issues.

With the theme of 2014 the title of my site www.reubensgoinggreen.com is a <h1> the navigation bar is a <h1> the post title is a <h1> all of my widget titles are <h1>. This can not be.

What I would like to do and don't know how to do, is change everything to a different setting. The post title I would like to be the only<h1>.

This is a lot to ask, but I need you to explain it to me like I am a six year old. I am 56 years old and it isn't as easy to learn new concepts as you age. But, this is a whole lot of fun. I want to thank you in advance, for the solution or leading me in the right direction to find the solution. Keep Smiling reuben

Don't edit any of the files that WordPress, a plugin or a theme come with unless you've built and are updating it.

Look up child themes in the codex.

When a theme is updated, all your changes will be overwritten as plugins, wordpress and themes simply overwrite ALL files when updating. It just replaces what's there so everything gets overwritten and if you've made changes, they go!

Create a child theme and then it's a case of inspecting elements you want to make changes to. The child theme CSS is given a higher priority than the parent theme's style.css instructions so, if you've written an instruction, it is listened to and that's where styling queues are taken from.

I want to thank you for answering me. But the solution isn't there. The problem that I am having is that when I put a post url into bing seo Analyzer I get 5 <h1> issues.

With the theme of 2014 the title of my site www.reubensgoinggreen.com is a <h1> the navigation bar is a <h1> the post title is a <h1> all of my widget titles are <h1>. This can not be.

What I would like to do and don't know how to do, is change everything to a different setting. The post title I would like to be the only<h1>.

This is a lot to ask, but I need you to explain it to me like I am a six year old. I am 56 years old and it isn't as easy to learn new concepts as you age. But, this is a whole lot of fun. I want to thank you in advance, for the solution or leading me in the right direction to find the solution. Keep Smiling reuben

I want to thank you for answering me. But the solution isn't there. The problem that I am having is that when I put a post url into bing seo analyzer I get 5 <h1> issues.

With the theme of 2014 the title of my site www.reubensgoinggreen.com is a <h1> the navigation bar is a <h1> the post title is a <h1> all of my widget titles are <h1>. This can not be.

What I would like to do and don't know how to do, is change everything to a different setting. The post title I would like to be the only<h1>.

This is a lot to ask, but I need you to explain it to me like I am a six year old. I am 56 years old and it isn't as easy to learn new concepts as you age. But, this is a whole lot of fun. I want to thank you in advance, for the solution or leading me in the right direction to find the solution. Keep Smiling reuben

What you are asking for is a whole rework for a theme, in other words building your own theme. Right now you have a child theme. Child themes work off of the functionality of another preexisting theme. To learn more about child themes check out this page in the Wordpress Codex: http://codex.wordpress.org/Child_Themes

On the other hand you could create your own theme which would be made from scratch (more or less). If that's what you want then I think you should check out Zac Gordon's tutorials in the wordpress section of treehouse. But before getting started you should know some HTML + CSS and a bit of php. Check out the video tutorials at: http://teamtreehouse.com/tracks/wordpress-development

I hope I helped. Good Luck!

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi! Rueben, have you watcher any of our WordPress courses yet?

We have a new one coming out in a few days (its on the roadmap) that shows how to begin customizing themes, including making child themes. This would probably be great for you.

As Pedro mentioned to really troubleshoot themes you need to have some basic HTML/CSS/WP foundation.

That said, we might be able to help you troubleshoot the problem, but I'm having trouble understanding exactly what it is you're trying to do. Could you try to explain again, using some screenshots to aid the explanation?

Thanks!!

SEO Analyzer (Beta) SEO Suggestions

Error Count Description 5 There are multiple <h1> tags on the page. 2 The <img> tag does not have an ALT attribute defined.

This is from the bing webmasters tools. You can find it under Diagnostics & Tools. It isn't giving me the page source today. But when it did,the title of my site reubensgoinggreen.com is a header 1. Then the navigation bar is a header 1. Then the title of my post is a header 1. Then all of my widgets title are header 1.

What I would like to do is change the header setting for everything except the post title, (or page title) which I want to be the only header 1 on the page. I haven't been in your school long enough to do it. But, I will learn. So I thank you for your time and the suggested reading.

I tried bing again and it isn't working today. It is still in beta. It is a nice tool. Thanks again Keep Smiling reuben