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

How can I modify the style in a page with Wordpress?

I watched firebug, I tried to make the changes but it didn't work. Please tell me all the steps to style the content from a page.

I know that in firebug I copy what I want to modify. Then I have to go in the CSS file but I don't know how.

Thank you

1 Answer

Mat Harris
Mat Harris
14,004 Points

Hi Dobre,

Have you set up a child theme for what you're trying to style? For more information about creating a child theme, you can go here: https://codex.wordpress.org/Child_Themes

Once you have a child theme set up, you will see in the root of your child theme directory a style.css file. Any styles you add to this will overwrite what is in the parent theme style.css file.

You could just change things in the parent theme's style.css file, however any new updates to that theme would overwrite any changes you've made.

Hopefully this is helpful!

  • Mat