Skip to content

Commit

Permalink
Update site h1
Browse files Browse the repository at this point in the history
Adding a class allows us to *not* target it with certain CSS for easier
site customization.
  • Loading branch information
mgsisk committed May 22, 2015
1 parent 8a9a3d7 commit 9a11a66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion -/coffee/customize.coffee
Expand Up @@ -309,7 +309,7 @@

wp.customize('title_font', (value)->
value.bind((to)->
inkblot_font(to, 'h1:not(.banner h1), h2, h3, h4, h5, h6')
inkblot_font(to, 'h1:not(.site), h2, h3, h4, h5, h6')
)
)

Expand Down
2 changes: 1 addition & 1 deletion -/js/customize.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion -/php/style.php
Expand Up @@ -168,7 +168,7 @@ function inkblot_css($selectors = '', $property = '', $value = '') {

if ($mod['title_font']) {
inkblot_css(array(
'h1:not(.banner h1)',
'h1:not(.site)',
'h2',
'h3',
'h4',
Expand Down
2 changes: 1 addition & 1 deletion header.php
Expand Up @@ -22,7 +22,7 @@
<?php if ( ! dynamic_sidebar('site-header')) : ?>

<a href="<?php print esc_url(home_url()); ?>" rel="home">
<h1><?php bloginfo('name'); ?></h1>
<h1 class="site"><?php bloginfo('name'); ?></h1>
<p><?php bloginfo('description'); ?></p>

<?php if (get_theme_mod('header_post_thumbnail') and has_post_thumbnail()) : ?>
Expand Down

0 comments on commit 9a11a66

Please sign in to comment.