Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styling author box on single page #19

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Hax/single.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<p><?php echo $author->description; ?></p>
<?php endif; ?>
<?php echo dw_get_author_meta($author->ID); ?>
<p><a class="url" href="<?php echo get_author_posts_url($author->ID); ?>">More articles by <?php echo hacks_author($author->display_name); ?>&hellip;</a></p>
<p><a class="url more-article-btn" href="<?php echo get_author_posts_url($author->ID); ?>">More articles by <?php echo hacks_author($author->display_name); ?>&hellip;</a></p>
<?php endforeach; ?>
<?php endif; ?>
</section>
Expand Down
17 changes: 17 additions & 0 deletions Hax/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,25 @@ p code {

.about {
margin: 2em 0;
background-color: #f5f5f5;
padding: 10px;
border-top: 10px solid #235D9C;
}
.about a{
text-shadow: none !important;
}
.about__header {
margin: 0px;
padding: 0px;
text-decoration: none;
}
.about__header a.url {
background-image: none;
}
.about .more-article-btn{
background-color: #235D9C;
color: #fff;
padding: 10px;
}
/* I need this specificity to defeat font awesome */
.about .author-meta {
Expand Down