mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 17:23:55 +01:00
link EU image when link is present
This commit is contained in:
parent
81aaf69cbe
commit
130b1f67f2
File diff suppressed because one or more lines are too long
4
assets/css/ascribe.min.css
vendored
4
assets/css/ascribe.min.css
vendored
File diff suppressed because one or more lines are too long
@ -204,7 +204,7 @@ a {
|
||||
line-height: 25px;
|
||||
}
|
||||
.subfooterText {
|
||||
color: @blackish;
|
||||
color: @greyText;
|
||||
font-size: 13px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
@ -72,7 +72,7 @@
|
||||
//
|
||||
.footer__bottom {
|
||||
.subfooterText;
|
||||
padding: @spacer 0;
|
||||
padding: (@spacer / 2) 15px;
|
||||
|
||||
.menu {
|
||||
margin-bottom: (@spacer/2);
|
||||
@ -115,14 +115,23 @@
|
||||
li { display: inline-block; }
|
||||
}
|
||||
|
||||
.footer__social,
|
||||
.footer__copyright,
|
||||
.footer__bottom .menu {
|
||||
@media (@screen-sm) {
|
||||
margin-top: 10px
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.footer__eu {
|
||||
width: 150px;
|
||||
height: auto;
|
||||
margin: 0 auto (@spacer/2) auto;
|
||||
|
||||
@media (@screen-sm) {
|
||||
float: left;
|
||||
margin: -15px 10px 0 0;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
16
footer.php
16
footer.php
@ -5,10 +5,12 @@
|
||||
* @package ascribe
|
||||
* @since 0.1.0
|
||||
*/
|
||||
|
||||
$year = date("Y");
|
||||
$address = get_field('address','option');
|
||||
$email = get_field('email','option');
|
||||
$consultLink= get_field('request_consultation_link','option');
|
||||
$address = get_field('address', 'option');
|
||||
$email = get_field('email', 'option');
|
||||
$consultLink = get_field('request_consultation_link', 'option');
|
||||
$euLink = get_field('eu_logo_link', 'option');
|
||||
|
||||
$themeUrl = WPTHEME_TEMPLATE_URL . '/';
|
||||
|
||||
@ -186,7 +188,13 @@ if ($twitter) {
|
||||
<div class="row">
|
||||
|
||||
<div class="footer__eu">
|
||||
<?php if ($euLink) { ?>
|
||||
<a href="<?php echo $euLink ?>">
|
||||
<img width="150" src="https://www.ascribe.io/wp-content/uploads/2015/11/eu-dev-fund.png" />
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<img width="150" src="https://www.ascribe.io/wp-content/uploads/2015/11/eu-dev-fund.png" />
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="footer__copyright"><?php echo $year; ?> © ascribe GmbH</div>
|
||||
@ -207,7 +215,7 @@ if ($twitter) {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
</footer>
|
||||
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user