Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a Portfolio Single Page

Benjamin Krier
Benjamin Krier
7,333 Points

It doesn't look like the changes (images and glyphicons) being made to style.css are coming through.

Here's what I have in functions.php

function theme_styles() {

wp_enqueue_style( 'bootstrap_css', get_template_directory_uri() . '/css/bootstrap.min.css'); wp_enqueue_style( 'main_css', get_template_directory_uri() . '/style.css');

} add_action( 'wp_enqueue_scripts', 'theme_styles' );

and here's what I have on style.css

.portfolio-piece img, .portfolio-image img { max-width: 100%; }

@media (max-width:540px) { .portfolio-piece h4 { font-size: .8em; } }

.prev-next { font-size: 24px; margin-top: 30px; text-align: right; }

Benjamin Krier
Benjamin Krier
7,333 Points

Nevermind. Turns out the problem was that I was doing the project in incognito mode on Chrome (I'm working in a cafe). Changing to a normal window solved the problem.