From d9b7eab959b5382f9b2b18d4fbe3219d8689a868 Mon Sep 17 00:00:00 2001 From: koenemann Date: Fri, 8 Jan 2016 09:22:31 +0100 Subject: [PATCH] Set max-width to 100% for all article img --- sass/understrap/understrap.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/sass/understrap/understrap.scss b/sass/understrap/understrap.scss index 4f25be8..713afbd 100644 --- a/sass/understrap/understrap.scss +++ b/sass/understrap/understrap.scss @@ -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 .wrapper { padding:$grid-gutter-width 0; @@ -31,6 +28,14 @@ font-size:inherit; .entry-footer span {padding-right:10px;} //Limit featured image size to 100% -img.wp-post-image { +img.wp-post-image, article img { max-width: 100%; } + +// Skip to content link +a.skip-link{ + display:none; + position: absolute; + top: 40px; + right: 0px; +}