styling addition of class to ComicPressRelatedPosts.inc and style.css change for .archive-dropdown
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
f7e91dd397
commit
9122867933
|
@ -65,7 +65,7 @@ class ComicPressRelatedPosts {
|
||||||
$output = array();
|
$output = array();
|
||||||
if (!empty($posts)) {
|
if (!empty($posts)) {
|
||||||
$output[] = '<div class="related_posts">';
|
$output[] = '<div class="related_posts">';
|
||||||
$output[] = '<span>' . $title . '</span>';
|
$output[] = '<span class="related_posts_title">' . $title . '</span>';
|
||||||
$output[] = '<table class="month-table">';
|
$output[] = '<table class="month-table">';
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
if (array_intersect($this->related_categories, wp_get_post_categories($post->ID))) {
|
if (array_intersect($this->related_categories, wp_get_post_categories($post->ID))) {
|
||||||
|
|
|
@ -568,6 +568,10 @@ h3, h3 a {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.related_posts_title {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.related_posts ul {
|
.related_posts ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
@ -881,8 +885,8 @@ ul.children {
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive-dropdown {
|
.archive-dropdown {
|
||||||
width: 192px;
|
width: 160px;
|
||||||
margin-left: 4px;
|
margin: 0 auto;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue