Browse Source

set the headers back to the default max width

Ben Dwyer 4 years ago
parent
commit
9a1ea5cb5d

+ 1 - 1
seedlet/archive.php

@@ -16,7 +16,7 @@ get_header();
 
 		<?php if ( have_posts() ) : ?>
 
-			<header class="page-header alignwide">
+			<header class="page-header default-max-width">
 				<?php
 					the_archive_title( '<h1 class="page-title">', '</h1>' );
 				?>

+ 0 - 10
seedlet/assets/css/ie.css

@@ -117,16 +117,6 @@ hr.wp-block-separator.is-style-wide {
 	max-width: min(calc(100vw - 200px), 620px);
 	}
 }
-.entry-header > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce) {
-	max-width: calc(100vw - 50px);
-	margin-left: auto;
-	margin-right: auto;
-}
-@media only screen and (min-width: 652px) {
-	.entry-header > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce) {
-	max-width: min(calc(100vw - 200px), 620px);
-	}
-}
 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce) {
 	max-width: calc(100vw - 50px);
 	margin-left: auto;

+ 0 - 1
seedlet/assets/sass/blocks/utilities/_style.scss

@@ -3,7 +3,6 @@
 /**
  * These selectors set the default max width for content appearing inside a post or page.
  */
-.entry-header > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
 *[class*="inner-container"] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce) {
 	@extend %responsive-aligndefault-width;

+ 1 - 1
seedlet/search.php

@@ -16,7 +16,7 @@ get_header();
 
 		<?php if ( have_posts() ) : ?>
 
-			<header class="page-header alignwide">
+			<header class="page-header default-max-width">
 				<?php
 				printf(
 					/* translators: 1: search result title. 2: search term. */

+ 1 - 2
seedlet/style-rtl.css

@@ -328,8 +328,7 @@ Included in theme screenshot and in block patterns.
 /**
  * Extends
  */
-.default-max-width, hr.wp-block-separator.is-style-wide, .entry-header > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
-.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
+.default-max-width, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
 *[class*="inner-container"] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce), .entry-content .wp-audio-shortcode, .post-thumbnail, .navigation {
 	max-width: var(--responsive--aligndefault-width);
 	margin-right: auto;

+ 1 - 2
seedlet/style.css

@@ -328,8 +328,7 @@ Included in theme screenshot and in block patterns.
 /**
  * Extends
  */
-.default-max-width, hr.wp-block-separator.is-style-wide, .entry-header > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
-.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
+.default-max-width, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce),
 *[class*="inner-container"] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.entry-attachment):not(.woocommerce), .entry-content .wp-audio-shortcode, .post-thumbnail, .navigation {
 	max-width: var(--responsive--aligndefault-width);
 	margin-left: auto;

+ 2 - 2
seedlet/template-parts/content/content-excerpt.php

@@ -11,7 +11,7 @@
 ?>
 
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
-	<header class="entry-header alignwide">
+	<header class="entry-header default-max-width">
 		<?php
 		if ( is_sticky() && is_home() && ! is_paged() ) {
 			printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'seedlet' ) );
@@ -26,7 +26,7 @@
 		<?php the_excerpt(); ?>
 	</div><!-- .entry-content -->
 
-	<footer class="entry-footer alignwide">
+	<footer class="entry-footer default-max-width">
 		<?php seedlet_entry_meta_footer(); ?>
 	</footer><!-- .entry-footer -->
 </article><!-- #post-${ID} -->

+ 1 - 1
seedlet/template-parts/content/content-none.php

@@ -11,7 +11,7 @@
 ?>
 
 <section class="no-results not-found">
-	<header class="page-header alignwide">
+	<header class="page-header default-max-width">
 		<h1 class="page-title"><?php _e( 'Nothing Found', 'seedlet' ); ?></h1>
 	</header><!-- .page-header -->
 

+ 1 - 1
seedlet/template-parts/content/content-page.php

@@ -12,7 +12,7 @@
 
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 
-	<header class="entry-header alignwide">
+	<header class="entry-header default-max-width">
 		<?php get_template_part( 'template-parts/header/entry-header' ); ?>
 	</header>
 

+ 1 - 1
seedlet/template-parts/content/content-single.php

@@ -12,7 +12,7 @@
 
 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 
-	<header class="entry-header alignwide">
+	<header class="entry-header default-max-width">
 		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
 		<?php if ( ! is_page() ) : ?>
 		<div class="entry-meta">