We want to join with our friends across the atlantic to celebrate Independence Day this weekend, so here is a new tutorial inspired by our ‘special relationship’ 😉
Blog posts with full width thumbnail images with titles on top…
It seems that this design concept is very popular at the moment, with many blogs adopting an impactful full width image, with the blog title directly on top and a centred column of text (see the first intro video for more examples from WooThemes and Medium.com)
We wanted to see if we could do this easily in Canvas using our Canvas Extensions. We’re quite pleased with the results and hope you will be too.
We’d love to hear your comments and questions below.
Introduction
#logo {
width: 60px;
}
#nav-container {
display: none;
}
Step 1 – The header
.headline {
text-align: center;
margin-right: 60px;
}
Step 2 – Full width post image
img.thumbnail {
padding: 0;
border: none;
}
Step 3 – Post title on the image
.post .title, .title, .post-meta {
margin-top: -350px;
margin-bottom: 350px;
text-align: center;
}
Step 4 – Post content in a central column
.entry {
width: 600px;
margin-left: auto;
margin-right: auto;
}
#post-author {
width: 600px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
#comments {
width: 600px;
margin-left: auto;
margin-right: auto;
}
#respond {
width: 600px;
margin-left: auto;
margin-right: auto;
}
Leave a Reply