added collections image in background
This commit is contained in:
parent
1ecb8d403b
commit
04f43f81a2
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue