Archived
Minor style updates
This commit is contained in:
1 parent
51d843a5b2
commit
31136d899d
3 files changed
+11
-17
No files matched your search
@@ -1,22 +1,10 @@
|
||||
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php
|
||||
$event_array = get_the_terms( $post->ID , 'event_type' );
|
||||
foreach ( $event_array as $event_type ) {
|
||||
$post->event_types[] = $event_type->name;
|
||||
$post->post_classes[] = 'event-type-' . $event_type->slug;
|
||||
}
|
||||
?>
|
||||
|
||||
<article <?php neuf_post_class(); ?>>
|
||||
|
||||
<div class="body grid_6">
|
||||
<?php
|
||||
$html = '<div class="event-type">' . implode( ', ' , $post->event_types ) . '</div>';
|
||||
echo $html;
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'eventmeta' , 'single' ); ?>
|
||||
<?php get_template_part( 'eventmeta' , 'single' ); ?>
|
||||
|
||||
<div class="entry-content"><?php the_content(); ?></div> <!-- .entry-content -->
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ body {
|
||||
@include clearfix;
|
||||
|
||||
.site-title {
|
||||
@include grid(7);
|
||||
@include grid(6);
|
||||
|
||||
.logo {
|
||||
background: url('../img/teater_neuf.jpg') no-repeat;
|
||||
@@ -87,11 +87,14 @@ body {
|
||||
margin-top: 10px;
|
||||
text-indent: -9999px;
|
||||
position: relative;
|
||||
bottom: 10px;
|
||||
}
|
||||
}
|
||||
#menu {
|
||||
@include grid(5);
|
||||
@include grid(6);
|
||||
@extend h2;
|
||||
position: relative;
|
||||
top: 36px;
|
||||
text-transform: uppercase;
|
||||
|
||||
a {
|
||||
|
||||
@@ -131,7 +131,7 @@ body #site-header #header-container .site-title {
|
||||
float: left;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
width: 680px;
|
||||
width: 580px;
|
||||
}
|
||||
body #site-header #header-container .site-title .logo {
|
||||
background: url("../img/teater_neuf.jpg") no-repeat;
|
||||
@@ -141,13 +141,16 @@ body #site-header #header-container .site-title .logo {
|
||||
margin-top: 10px;
|
||||
text-indent: -9999px;
|
||||
position: relative;
|
||||
bottom: 10px;
|
||||
}
|
||||
body #site-header #header-container #menu {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
width: 480px;
|
||||
width: 580px;
|
||||
position: relative;
|
||||
top: 36px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
body #site-header #header-container #menu a {
|
||||
|
||||
Reference in new issue
Block a user