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

General Discussion

Mobile first grid layout from CSS LAYOUTS course isn't working with wordpress?

So I created first HTML markup with grid layout from CSS Layouts course, where in the last section teacher has created mobile first grid system, so in simple website worked everything fine, but when I tried to code wordpress templates, the grid didn;t worked anymore. What could be a problem? Maybe some Wordpress style are overriding or something?

2 Answers

Did you add the grid stylesheet to the function that has the wp_enqueue_style handlers inside your theme's functions.php file and you are sure the path is correct to the file?

Hey Sean, thanks for the reply! I hastened to ask for help, the problem was that I forgot to put slash after get_template_directory_uri function to the directory where was the grid..