diff --git a/scss/_blog.scss b/scss/_blog.scss index f392bca..e20c5b1 100644 --- a/scss/_blog.scss +++ b/scss/_blog.scss @@ -183,8 +183,6 @@ } .wp-caption { - margin: auto; - img { max-width: 100%; height: auto; @@ -194,4 +192,8 @@ font-size: 0.9em; font-style: italic; } + + & .aligncenter { + margin: auto; + } } diff --git a/style.css b/style.css index a538920..4fdf7db 100644 --- a/style.css +++ b/style.css @@ -1479,3 +1479,6 @@ a.list-group-item:hover { .wp-caption-text { font-size: 0.9em; font-style: italic; } + +.wp-caption .aligncenter { + margin: auto; }