Pārlūkot izejas kodu

Footer size fix. Privacy Policy style fix.

Jeffrey Pearce 5 gadi atpakaļ
vecāks
revīzija
5a4af8ef2c

+ 7 - 5
stratford/footer.php

@@ -17,11 +17,6 @@
 
 	<footer id="colophon" class="site-footer responsive-max-width">
 		<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
-		<?php
-		if ( function_exists( 'the_privacy_policy_link' ) ) {
-			the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
-		}
-		?>
 		<?php if ( has_nav_menu( 'social' ) ) : ?>
 			<nav class="footer-navigation social-navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'varia' ); ?>">
 				<?php
@@ -38,6 +33,13 @@
 			</nav><!-- .social-navigation -->
 		<?php endif; ?>
 		<div class="site-info">
+			<div class="privacy-policy-container">
+			<?php
+			if ( function_exists( 'the_privacy_policy_link' ) ) {
+				the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
+			}
+			?>
+			</div>
 			<?php $blog_info = get_bloginfo( 'name' ); ?>
 			<?php if ( ! empty( $blog_info ) ) : ?>
 				<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a><span class="comma">,</span>

+ 2 - 2
stratford/sass/_config-child-theme-deep.scss

@@ -349,7 +349,7 @@ $config-footer: (
 	// Fonts
 	"font": (
 		"family": map-deep-get($config-global, "font", "family", "secondary"),
-		"size": map-deep-get($config-global, "font", "size", "base"),
-		"line-height": map-deep-get($config-global, "font", "line-height", "base"),
+		"size": map-deep-get($config-global, "font", "size", "sm"),
+		"line-height": map-deep-get($config-global, "font", "line-height", "sm"),
 	),
 );

+ 1 - 2
stratford/style.css

@@ -2540,8 +2540,7 @@ table th,
 .site-info {
 	color: #767676;
 	font-family: "Lato", sans-serif;
-	font-size: 1rem;
-	line-height: 1;
+	font-size: 0.83333rem;
 }
 
 @media only screen and (min-width: 640px) {