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;
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">
<main class="slides">
<?php if ($this->themeSetting('logo')): ?>
<section class="slide">
<figure>
<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');?>"
<section class="slide image-background">
<!-- <figure> -->
<!-- <img src=""
title="an arc-hive project"
alt="arc-hive logo"
class="logo" />
</figure>
class="logo" /-->
<!-- </figure> -->
</section>
<?php endif; ?>
</main>
<aside>
<h2 class="site-title">