Set max-width to 100% for all article img

This commit is contained in:
koenemann 2016-01-08 09:22:31 +01:00
parent 47b303a2ff
commit d9b7eab959
1 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,3 @@
// If you use the Bootstrap .navbar-fixed-top class on your navbar you need this
body { padding-top: 50px; }
// Some basic padding for all wrappers // Some basic padding for all wrappers
.wrapper { .wrapper {
padding:$grid-gutter-width 0; padding:$grid-gutter-width 0;
@ -31,6 +28,14 @@ font-size:inherit;
.entry-footer span {padding-right:10px;} .entry-footer span {padding-right:10px;}
//Limit featured image size to 100% //Limit featured image size to 100%
img.wp-post-image { img.wp-post-image, article img {
max-width: 100%; max-width: 100%;
} }
// Skip to content link
a.skip-link{
display:none;
position: absolute;
top: 40px;
right: 0px;
}