Merge pull request #1301 from arnabwahid/master

image alignment fix + mitigate build error in `woocommerce.php`
This commit is contained in:
Arnab Wahid 2020-03-23 22:47:07 +00:00 committed by GitHub
commit 132319ee8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 4 deletions

View File

@ -56,9 +56,9 @@ if ( ! function_exists( '_s_header_style' ) ) :
.site-description { .site-description {
position: absolute; position: absolute;
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
} }
<?php <?php
// If the user has set a custom color for the text use that. // If the user has set a custom color for the text use that.
else : else :
?> ?>
.site-title a, .site-title a,

View File

@ -175,7 +175,7 @@ if ( ! function_exists( '_s_woocommerce_wrapper_after' ) ) {
* @return void * @return void
*/ */
function _s_woocommerce_wrapper_after() { function _s_woocommerce_wrapper_after() {
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div><!-- #primary --> </div><!-- #primary -->
<?php <?php

View File

@ -2,15 +2,18 @@
display: inline; display: inline;
float: left; float: left;
margin-right: 1.5em; margin-right: 1.5em;
margin-bottom: 1.5em;
} }
.alignright { .alignright {
display: inline; display: inline;
float: right; float: right;
margin-left: 1.5em; margin-left: 1.5em;
margin-bottom: 1.5em;
} }
.aligncenter { .aligncenter {
clear: both; clear: both;
@include center-block; @include center-block;
margin-bottom: 1.5em;
} }

View File

@ -776,12 +776,14 @@ a:hover, a:active {
display: inline; display: inline;
float: left; float: left;
margin-right: 1.5em; margin-right: 1.5em;
margin-bottom: 1.5em;
} }
.alignright { .alignright {
display: inline; display: inline;
float: right; float: right;
margin-left: 1.5em; margin-left: 1.5em;
margin-bottom: 1.5em;
} }
.aligncenter { .aligncenter {
@ -789,6 +791,7 @@ a:hover, a:active {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 1.5em;
} }
/*-------------------------------------------------------------- /*--------------------------------------------------------------