From c8f943a7226634b6c2f0cb7267569d48fbbb1e7b Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Fri, 13 Mar 2026 10:07:44 -0400 Subject: [PATCH] Fix single article column structure to center wider images --- single.php | 191 ++++++++++++++++++++++++++--------------------------- style.css | 11 --- 2 files changed, 92 insertions(+), 110 deletions(-) diff --git a/single.php b/single.php index 01acb7a..5950abf 100644 --- a/single.php +++ b/single.php @@ -11,112 +11,105 @@ get_header(); ?> the_post(); ?>
> -
-
-
- ', ''); ?> +
+ ', ''); ?> -
-
- 'rounded-circle')); ?> -
-
-
- -
-
-
- - -
- 'img-fluid article-hero-image rounded', - 'style' => 'aspect-ratio: 16/9; object-fit: cover;' - )); ?> -
- - -
- '', - ) - ); - ?> -
- -
- -
-
-
-
- -
- + + +
+ 'img-fluid w-100 rounded', + 'style' => 'aspect-ratio: 16/9; object-fit: cover;' + )); ?> +
+ + +
'', + ) + ); ?> -
+
+ + + + +
+ + +
diff --git a/style.css b/style.css index 65425b5..4806aca 100644 --- a/style.css +++ b/style.css @@ -302,17 +302,6 @@ a:hover { } /* --- 5. Article Details Custom Styles --- */ -.article-hero-image { - width: 100%; -} - -@media (min-width: 992px) { - .article-hero-image { - width: calc(100% + 20%); - margin-left: -10%; - } -} - .post-nav-thumbnail { width: 80px; height: 80px;