Skip to content
Browse files

ONA Local formatting changes; changed list bullet

  • Loading branch information...
1 parent 061f9e8 commit dff01be688e3f97216a61075b9bfd95e65cb2b76 @vaguity committed Mar 1, 2012
View
BIN .DS_Store
Binary file not shown.
View
BIN images/list_bullet.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 section-ona-local-events.php
@@ -8,7 +8,7 @@
<div id="content" class="full-page">
- <div id="ona-local-calendar">
+ <div id="ona-local-events">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
@@ -33,6 +33,8 @@
<div id="ona-local-loop">
+ <?php rewind_posts(); ?>
+
<?php $posts = z_get_posts_in_zone('eventlistzone'); ?>
<?php foreach( $posts as $post ) :
View
2 section-ona-local-overview.php
@@ -8,7 +8,7 @@
<div id="subhead">
-<div id="subhead-content">
+<div id="subhead-content" class="ona-local">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
View
11 single-event.php
@@ -10,8 +10,7 @@
$eventtype = get_the_term_list($post->ID,'eventtype','', ', ','');
$eventregistrationlink = get_post_meta($post->ID,'eventregistrationlink',true);
$eventlink = get_post_meta($post->ID,'eventlink',true);
- if ($eventlink) $eventlink = $eventlink;
- else $eventlink = get_permalink(); ?>
+ ?>
<article class="post" id="post-<?php the_ID(); ?>">
@@ -42,7 +41,13 @@
else { }
?>
- <a href="<?php echo $eventlink; ?>" class="jumptext">Learn more</a> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/arrow-small.png" class="noborder"></p>
+ <?php if ($eventlink) {
+ echo '<a href="'; echo $eventlink; echo '" class="jumptext">Learn more</a> <img src="'; echo bloginfo('stylesheet_directory'); echo '/images/arrow-small.png" class="noborder">';
+ }
+
+ else { }
+ ?>
+ </p>
<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
View
26 style.css
@@ -867,7 +867,6 @@ div#sidebar {
#content article img {
padding:2px;
border:1px solid #CEDEEB;
- margin:4px;
}
#content article blockquote {
@@ -878,6 +877,14 @@ div#sidebar {
clear:both;
}
+#content article .entry blockquote ul li {
+ display: list-item;
+ margin-left:20px;
+ background:none;
+ list-style-type:disc;
+ padding-left:0px;
+}
+
#content article img.noborder {
border:0;
padding:0;
@@ -896,6 +903,14 @@ div#sidebar {
margin:10px 0;
}
+#content article .entry ul ul {
+ margin:10px 20px;
+}
+
+#content article .entry ul ol {
+ margin:10px 40px;
+}
+
#content article .entry ol {
display:block;
list-style-type:decimal;
@@ -914,6 +929,7 @@ div#sidebar {
display:list-item;
margin-left:20px;
padding-left:0;
+ background:none;
}
#content article .entry ul.spaced li, #content article .entry ol.spaced li {
@@ -939,6 +955,13 @@ div#sidebar {
margin:0 0 0 0;
}
+#content article .wp-caption-text {
+ margin:2px 0;
+ font-size:10px;
+ font-weight:bold;
+ font-style:italic;
+}
+
#content article aside {
width:200px;
}
@@ -1104,7 +1127,6 @@ footer.meta #tags span.tags-header, footer.meta #event-tags span.tags-header {
margin:40px 0;
}
-
#ona-local-locator article ul {
display: block;
list-style-type:none;

0 comments on commit dff01be

Please sign in to comment.
Something went wrong with that request. Please try again.