Trama en el footer

This commit is contained in:
Rezola Museum 2018-02-24 19:36:39 +01:00
parent b8ee670d03
commit 71eb9973f1
4 changed files with 8 additions and 4 deletions

BIN
assets/pattern.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

View File

@ -86,7 +86,7 @@ div.row {margin-right:0 !important; margin-left:0 !important;}
margin-bottom:0; margin-bottom:0;
border-bottom:1px solid rgba(255,153,51,255); border-bottom:1px solid rgba(255,153,51,255);
} }
.progress { margin-bottom:0;} .progress { margin-bottom:0; border-radius:0 !important;}
.an-progress-bar {background-color:rgba(255,153,51.255); background-color:#ff9933; } .an-progress-bar {background-color:rgba(255,153,51.255); background-color:#ff9933; }
footer { background:#231f20;padding:30px 0;} footer { background:#231f20;padding:30px 0;}
@ -137,8 +137,11 @@ li.anor-list-items ul li {float:left;margin:2px;}
.lan_link { cursor:pointer; text-align:center; font-weight:bold; color:#000 !important;} .lan_link { cursor:pointer; text-align:center; font-weight:bold; color:#000 !important;}
.navbar-language > li .lan_link:hover { background:none;} .navbar-language > li .lan_link:hover { background:none;}
.navbar-language > li:hover {background:#fff;} .navbar-language > li:hover {background:#fff;}
.menu-item a:hover {background:transparent !important;color:#fff !important; font-weight:bold;}
div.clear { clear:both; height:2em;} div.clear { clear:both; height:2em;}
img.alignleft { float:left; margin:0.5em 1em 0.5em 0;} img.alignleft { float:left; margin:0.5em 1em 0.5em 0;}
/*img.alignleft::before { clear:both; height:2em; content : "Nothing";}*/ /*img.alignleft::before { clear:both; height:2em; content : "Nothing";}*/
.homepage-content-item:hover {opacity:0.8;}

View File

@ -49,6 +49,7 @@
</div> </div>
</header> </header>
<!-- front-page --> <!-- front-page -->
<div class="meta-container" style="width:100%;background-image:url('http://anorgatarrak.eus/wp-content/themes/anorgatarrak/assets/pattern.png');">
<div class="container" style="padding:30px 0;" ng-hide> <div class="container" style="padding:30px 0;" ng-hide>
<div class="row"> <div class="row">
<?php <?php
@ -60,9 +61,9 @@ $args = array (
foreach ($pages as $page) : foreach ($pages as $page) :
?> ?>
<?php //print_r($page); ?> <?php //print_r($page); ?>
<div class="col-md-4"> <div class="col-md-4" style="margin-bottom:2em;">
<a href="<?php echo get_permalink($page->ID);?>"> <a href="<?php echo get_permalink($page->ID);?>">
<div class="row" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');"> <div class="row homepage-content-item" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');">
<div class="col-md-12" style="background-color:rgba(0,0,0,0.8);"> <div class="col-md-12" style="background-color:rgba(0,0,0,0.8);">
<h2><?php echo $page->post_title; ?></h2> <h2><?php echo $page->post_title; ?></h2>
</div> </div>
@ -73,5 +74,6 @@ $args = array (
<?php endforeach; ?> <?php endforeach; ?>
</div> <!-- row --> </div> <!-- row -->
</div><!-- container --> </div><!-- container -->
</div><!-- metacontainer -->
<?php //endif; ?> <?php //endif; ?>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -1,7 +1,6 @@
<div class="content"> <div class="content">
<div class="row"> <div class="row">
<div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;background-repeat;no-repeat;background-position:center;width:100%;background-attachment:fixed;height:50vh;"> <div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;background-repeat;no-repeat;background-position:center;width:100%;background-attachment:fixed;height:50vh;">
<!--<div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;width:100%;height:90vh;background-attachment:fixed;">-->
<div class="row"> <div class="row">
<div class="col-md-offset-1 col-md-5"><h1>{{post.title.rendered}}</h1></div> <div class="col-md-offset-1 col-md-5"><h1>{{post.title.rendered}}</h1></div>
</div> </div>