In this screencast we set about building out a few more of the modules we plan to have on the homepage.

Just a little tweak and we're showing three hot links instead of two. Copy and paste a bit of module code and tweak a query and now we have a module showing the latest video. Mmmmm. CMS's are fun!

We have a CSS file specifically for modules, which is the perfect place to style up these modules if they need variation. The video one, for example, is going to show the thumbnail of the video and that needs special styling.

We finish up by working on a "Subscribe" module in the right-most sidebar. We decide to add some icons to the buttons there, which is easy now since we have a system in place for that.

Leave a Comment

Posting Code

We highly encourage you to post problematic HTML/CSS/JavaScript over on CodePen and include the link in your post. It's much easier to see, understand, and help with when you do that.

Markdown is supported, so you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences like this:

  function example() {
    element.innerHTML = "<div>code</div>";

We have a pretty good* newsletter.