added collections image in background

This commit is contained in:
jorge 2022-04-28 18:39:07 +02:00
parent 1ecb8d403b
commit 04f43f81a2
3 changed files with 12 additions and 18 deletions

File diff suppressed because one or more lines are too long

View File

@ -565,6 +565,12 @@ main {
display:flex; display:flex;
justify-content: center; justify-content: center;
} }
.image-background{
background-image: url('assets/img/header_collections.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
} }
} }
} }

View File

@ -1,25 +1,13 @@
<section class="hero omeka collections-all"> <section class="hero omeka collections-all">
<main class="slides"> <main class="slides">
<?php if ($this->themeSetting('logo')): ?> <section class="slide image-background">
<section class="slide"> <!-- <figure> -->
<figure> <!-- <img src=""
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
title="<?php echo $site->title(); ?>"
alt="<?php echo $site->title(); ?>"
class="logo" />
</figure>
</section>
<?php else: ?>
<section class="slide">
<figure>
<img src="<?php echo $this->assetUrl('img/header_collections.jpg');?>"
title="an arc-hive project" title="an arc-hive project"
alt="arc-hive logo" alt="arc-hive logo"
class="logo" /> class="logo" /-->
</figure> <!-- </figure> -->
</section> </section>
<?php endif; ?>
</main> </main>
<aside> <aside>
<h2 class="site-title"> <h2 class="site-title">