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 {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
<?php
// If the user has set a custom color for the text use that.
}
<?php
// If the user has set a custom color for the text use that.
else :
?>
.site-title a,

View File

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

View File

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

View File

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