I took a big leap here and finally sent the client a rough look at the site. The one thing about using WordPress themes is that you start with something that looks ok, but not great. Then you start tweaking it without involving the client. It’s dangerous as hell and I may have spent 12 hours tweaking for nothing. But at least the ball’s in their court now.

Had to involve Mr Devo a bit too. I just couldn’t get the damn Child Theme’s CSS to be recognized. He got me to add this lovely bit of code in the new functions.php file:

<?php
add_action(‘wp_enqueue_scripts’, ‘sdhhns_style’);
function sdhhns_style() {
wp_register_style(‘muchstyle’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘default_stylesheet’,’style’,’style-stretched’), ‘1.0.0’, ‘all’);
wp_enqueue_style(‘muchstyle’);
}
?>

I had to add that because this theme uses the enqueue script thing instead of the regular style.css in the theme directory. WHICH IS EXACTLY WHAT I’M DOING WITH LOS PRIMOS! Gah. Learning is good. Frustration is bad. I had to keep “inspecting element” to add stylesheet after stylesheet until mine started effecting the site. It works!

About

Rob is a graphic design instructor and practicing designer/illustrator. He likes monsters.

Comments are now closed for this article.