Fix for Bold Fonts Looking Bolder in Chrome

If you noticed your fonts in Chrome looking more bold in Chrome than Safari – there is an easy fix. Add this in to your stylesheet (body or specific CSS class/ID):

Example:

h1 {-webkit-font-smoothing: antialiased;}

You can see the difference:

Before:

After:

Cold Day?

On out way to the zoo yesterday – I saw this sign (note it is from a Science/Math Academy) showing the temperature at -196F. I was warm enough I did not have a jacket on. Perhaps this is some of the “fake news”? (Made me laugh)

Mac OS 10.2.2 SSH Keys Passphrase Help

If you are like me and a few days ago – noticed that you were getting prompted for your passphrase when using your SSH keys (instead of using the keychain) – here is how you can make a small change to no longer enter your password each time: http://apple.stackexchange.com/questions/254468/macos-sierra-doesn-t-seem-to-remember-ssh-keys-between-reboots/264974#264974

Fun Recent Finds

Over the last few weeks I have found some really cool things I wanted to share…

  • Architectural Artifacts. If I could – my entire home would be comprised of things from this place. Urban Remains
  • Bracelets. If you know me – you are you know I would only post something about jewelry if I really thought it was something special. For those of you who do not know me – I am not a jewelry person at all – but these might make me one: Spectrum Bracelet Rainbow
  • TV show. If you have HBO and you have not seen this yet – take an hour today and give it a shot: The Night Of
  • Podcast. I first heard Claude VonStroke almost ten years ago and his podcast is still one of my favorite today. Claude VonStroke presents The Birdhouse
  • YouTube channel. I am not sure how – but I get sucked in every time with: Oddly Satisfying Videos

Add Bootstrap Classes to the Next and Previous Image Buttons

When viewing media (usually the image.php template) within WordPress – there are buttons to browse the next and previous buttons that you might want to customize if you are creating a Bootstrap WordPress them. If this is the case – styling the buttons with Bootstrap is easy. You can simply add the following to your theme’s functions.php file.

/**
 * Add CSS class to image navigation links.
 *
 * @wp-hook previous_image_link
 * @wp-hook next_image_link
 * @param   string $link Complete markup
 * @return  string
 */
add_filter( 'previous_image_link', 'lucidity_img_link_class' );
add_filter( 'next_image_link', 'lucidity_img_link_class' );

function lucidity_img_link_class( $link ) {
    $class = 'next_image_link' === current_filter() ? 'next' : 'prev';
    return str_replace( '<a ', "<a class='btn btn-default $class'", $link );
}

Note – you can change the btn-default class to btn-primary or whatever you need.

ABC’s The Goldbergs

When I first saw this show advertised I thought to myself “this looks like a great show”…and that was it. FINALLY I caught a few episodes and as expected – I love it. It is based in the 1980s from a young boy’s perspective. Growing up the in 1980s myself – the episodes I watched really brought my back to my childhood – with my tape collection and all great things from that decade.

If you have not seen it – give it a look: http://abc.go.com/shows/the-goldbergs. New episodes will be available this fall.

Add Bootstrap Button Classes to the WordPress Comment Form

Looking to stylize that WordPress comment button on the WordPress comment form? Adding the correct classes needed to the comment form button are as easy as finding where comment_form() is called in your theme. In my cases – this is within the comments.php file.

Once you find that – you just need to change
comment_form()
to:

$args = array(
'class_submit' => 'btn btn-default',
);
comment_form($args )

There are a number of modifications you can make to the comment form (changing button text, changing labels, adding notes, etc that you can make with the comment_form() function which are worth looking at here: https://codex.wordpress.org/Function_Reference/comment_form