Moved the back to top button out of footer.
This commit is contained in:
parent
46d390993f
commit
7b04aa123f
11
footer.php
11
footer.php
@ -34,12 +34,13 @@ if( is_home() ) {
|
||||
|
||||
</main>
|
||||
|
||||
<ul class="minimalistflex-controls">
|
||||
<?php if ( get_theme_mod( 'minimalistflex_interface_scroll_top', 'yes' ) === 'yes' ): ?>
|
||||
<li><a href="#" aria-label="<?php esc_attr_e( 'Back to top', 'minimalistflex' ) ?>">:D</a></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
<footer class="minimalistflex-footer">
|
||||
<ul class="minimalistflex-controls">
|
||||
<?php if ( get_theme_mod( 'minimalistflex_interface_scroll_top', 'yes' ) === 'yes' ): ?>
|
||||
<li><a href="#" aria-label="<?php esc_attr_e( 'Back to top', 'minimalistflex' ) ?>">:D</a></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<div class="minimalistflex-footer-widgets-container">
|
||||
<?php $sidebars = get_theme_mod( 'minimalistflex_footer_widget_layout', 'one' ); ?>
|
||||
<?php
|
||||
|
||||
@ -1215,7 +1215,6 @@ p[class*=comment-form-] {
|
||||
list-style-type: none;
|
||||
transition: background-color 250ms,
|
||||
color 250ms;
|
||||
z-index: 250;
|
||||
}
|
||||
|
||||
.minimalistflex-controls:not(:has(li)) {
|
||||
@ -1253,7 +1252,6 @@ p[class*=comment-form-] {
|
||||
padding: 1.5em;
|
||||
background-color: var(--minimalistflex-footer-bg);
|
||||
position: relative;
|
||||
z-index: 260;
|
||||
}
|
||||
|
||||
.minimalistflex-footer * {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user