[Attributes Style] overwriting set_post_thumbnail_size on featured images
-
Hi, I’ve just installed Starkers by Viewport Industries, and want to show a 300×300 featured image with every post. I added thumbnail support to the theme, and then specified the dimensions in functions.php like this:
add_theme_support('post-thumbnails'); set_post_thumbnail_size( 300, 300 );
I then added
<?php the_post_thumbnail(); ?>
into the index.phpThe image does display on the front page (www.blog.advancetogo.com), but not at those dimensions. When I look at the inspector, I see the following:
img[Attributes Style] { width: 300px; height: 77px; }
Any advice?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Attributes Style] overwriting set_post_thumbnail_size on featured images’ is closed to new replies.