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 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.