Compare commits

...

2 Commits

Author SHA1 Message Date
bf71d1cf48 footer responsive 2 2025-08-29 06:22:07 +02:00
035a2090a9 Footer responsive 2025-08-29 06:20:43 +02:00
3 changed files with 14 additions and 5 deletions

View File

@@ -10,6 +10,10 @@ body {
@apply bg-background font-sans; @apply bg-background font-sans;
} }
#topbar-footer {
@apply bg-primary h-[5vw] w-full;
background: url("assets/img/topbar-footer.jpg") no-repeat center top;
}
footer { footer {
@apply bg-secondary w-full text-white; @apply bg-secondary w-full text-white;
@@ -24,6 +28,12 @@ footer {
} }
} }
} }
.footer-text-and-icons {
@apply font-roboto flex w-full flex-col items-start justify-between gap-4 py-8 text-sm md:ml-0 md:flex-row md:items-center md:gap-8;
.w-1\/4 {
@apply w-full justify-start pl-8 md:w-1/4 md:justify-center md:pl-0;
}
}
} }
#header-menu { #header-menu {

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

View File

@@ -9,7 +9,7 @@
*/ */
?> ?>
<div id="topbar-footer"></div>
<footer id="colophon" class="site-footer py-8"> <footer id="colophon" class="site-footer py-8">
<section class="container mx-auto"> <section class="container mx-auto">
<?php if (is_active_sidebar('sidebar-footer')) : ?> <?php if (is_active_sidebar('sidebar-footer')) : ?>
@@ -18,8 +18,7 @@
</aside> </aside>
<?php endif; ?> <?php endif; ?>
<div class="flex w-full flex-col items-center justify-between font-roboto gap-4 py-8 text-sm md:flex-row md:gap-8"> <div class="flex w-full flex-col items-start justify-between font-roboto gap-4 py-8 text-sm lg:flex-row lg:gap-8">
<?php if (has_nav_menu('footer')) : ?> <?php if (has_nav_menu('footer')) : ?>
<nav aria-label="<?php esc_attr_e('Footer Menu', 'studio-up'); ?>"> <nav aria-label="<?php esc_attr_e('Footer Menu', 'studio-up'); ?>">
<?php <?php
@@ -35,7 +34,7 @@
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<div> <div class="ml-3 md:ml-0">
Copyright ® <?= date('Y') ?> <?= get_bloginfo('name') ?> <?= __('Todos los derechos reservados', 'studio-up') ?>. Copyright ® <?= date('Y') ?> <?= get_bloginfo('name') ?> <?= __('Todos los derechos reservados', 'studio-up') ?>.
</div> </div>
</div> </div>