How to create a simple political website template in Photoshop

By Jim Jamesson on October 3rd, 2008 | Posted in Photoshop Tutorials | Permalink

About 700 or 800 times a day I’m asked questions about Photoshop. About 7000 or 8000 times a day I hear something about Barack Obama or John McCain. He said this, he voted for that… man the bickering just does not stop. Now that I am good and sick of both Obama and McCain, and there are now 1 billion people waiting for me to show them something in Photoshop, I figure now is a good time to kick out some fun Photoshop tutorials.

After logo treatment and a few other nick nacks, our mockup is complete and ready for slicing.

Just a few steps of Photoshop fun and we'll build this simple layout.

Today we’re gonna make a campaign website design for a Barak McCain morphed weirdoass looking dude running for president. A guy I might just get off my ass and vote for. Probably not though. Anyways.

For the hell of it, lets build a basic website mockup for a fictitious Barack McCain presidential candidate, and see if we can capture the same kind of political website scheme that they use in the real world. While I am using Adobe Photoshop CS3 for this tutorial, older Photoshop versions should still be more than adequate. Your technique may differ from what I’m showing using an older software, but more than likely you should have no troubles figuring out a workaround. For convenience, I’ve uploaded my original Photoshop file for you to use as a guide.

Step one: Create new PSD

Start off with a canvas of 1000 x 800, 72dpi. Pick a good dark blue, something real fucking politically ass correct. I chose #211a44. Layout your margins next. Generally, I put mine 20px from the sides, one 100px down, and one at the 600px mark for an ‘above the fold’ reference.

Create canvas 1000 x 800, setup guides 20px on the sides, 100px and 600px down.

Create canvas 1000 x 800, setup guides 20px on the sides, 100px and 600px down.

Step two: Set up regions

Next, we gotsta figure out the basic outline of where the elements we need gotsta go. In this case, I’ve got quite a good idea of where everything will go.

With guides setup for margins, and simple rectangle shapes, we're able to see the general placement of our website elements.

With guides setup for margins, and simple rectangle shapes, we're able to see the general placement of our website elements.

After your guides, margins, and boxes, your mockup should resemble this.

After your guides, margins, and boxes, your mockup should resemble this.

Step three: Fill in website elements

Now, with our guides and rough boxes in place, we can start plugging in the different elements that will compose our mockup. You can see we added a roughed-in logo, a 40px high navigation bar, a search box, and some lorem ipsum placeholder text to give us a better visual indication of how everything is coming together. Our header is now 160px because of the navigation.

Mockup taking a bit more shape as more website elements are added. I added filler lorem ipsum text, navigation buttons and a search box.

Mockup taking a bit more shape as more website elements are added. I added filler lorem ipsum text, navigation buttons and a search box.

Step four: Background treatment

Alright! Our layout is starting to take a little bit of shape now. Now that we have our basic elements in place for our mockup, we can start making this sucker look a little more polished and looking like it belongs alongside Barak Obama and John McCain’s websites. :)

Let’s first start off with a little background treatment. All these modern websites love using gradient backgrounds, and since our guy is man of the people, he should probably do the same. For now, let’s try pulling down a black gradient from the top of our document. Click ‘D’ on your keyboard to reset your color palette back to the default black and white, then choose your gradient tool.

Up at the top, Photoshop gives you an option to screw around with your gradients that looks like this:

Choose the Solid to Transparent Gradient for your background gradient.

Choose the Solid Color to Transparent for your background gradient.

You’ll want to pick the one that gives you a solid color to transparent. You’ll want to use black for your gradient color. Once you’re set, create a new layer directly above the ‘Background’ layer, and drag something down around 500px from the top. If you hold the shift key, you can constrain your gradient to x or y axis. Let’s give it a try:

Drag a gradient down around 600px to give us a nice fade from top to bottom.

Drag a gradient down around 600px to give us a nice fade from top to bottom.

Our completed background gradient. Still needs work though.

Our completed background gradient. Still needs work though.

There’s no exact science here, but typically I don’t like to make a background image that is so large that it impacts our load time. Stick to something reasonable, and you should be OK. Remember, not everyone is on 1900×1280 resolution, and it may not be wise to have a 400kb background image that only 5% of your visitors will even see.

So far so good, but it’s looking gloomy as shit, and that’s probably not the best look for a presidential candidate. Let’s invert our new gradient layer, and set the blending mode at the top of the layers palette to ‘Opacity’. This will give us a nice lightened header. To make it stand out a bit more though, let’s duplicate that gradient layer, and then free transform the layer to around 160px high. This should give us a really nice glow for the header.

Background gradients inverted, and blending mode changed to Overlay.

Background gradients inverted, and blending mode changed to Overlay.

Step five: Add highlights

To give the background a bit more depth, create a new layer on top of the two gradient layers you’ve already made. This time though, we’re going to use the Radial Gradient tool to create a basic ass, white gradient circle thing. I usually make mine in the center of the image so none of the sides of the gradient get chopped off from extending beyond the boundaries of our Photoshop document:

Adding a white radial blur, and setting blending mode to Overlay gives us a very nice highlighted area.

Adding a white radial blur, and setting blending mode to Overlay gives us a very nice highlighted area.

Now, change this new layers blending mode to Overlay, and move it up to header area to where it looks kind of good. I toned my layer opacity down to around 60%. This adds a nice highlight to our header and will also give the background a little bit of depth. Now would probably be a good time to merge those layers into a new group, to keep them organized and out of the way.

Step six: Create 3D navigation bar

Lets dress up this boring as fuck looking navigation bar next. Since it’s just a simple website we can get away with using a background image and use text and CSS for the buttons. So, we can snazz it up a tad with a few simple gradients. Start by command+clicking on the navigation bars layer thumbnail to get a marquee selection of our navigation square. For you Windows people, Control+click. When you have the nav bar selected, create a new layer above the navigation bar layer, and drag down a white gradient using the Reflected Transparent gradient tool. It’s the same one we used in the beginning. Start near the top of the selection and drag down near halfway or so. Play with the opacity levels until you have a nice and smooth looking gradient. Repeat this step, only using a black gradient starting from the bottom to create a shadow effect. When you’re done, you should end up with something similar to this:

Move the radiul blur layer up to the header somewhere until it looks nice. This will help us draw attention to the header area.

Move the radiul blur layer up to the header somewhere until it looks nice. This will help us draw attention to the header area.

Step seven: Fix stupid shit

Before we go any further, we need to address a very important step. To consider yourself versed in Photoshop, you definitely should learn how to spell a presidential candidates name. Hopefully you noticed this right away and spelled it correctly. I guess I don’t pay either of these assholes enough attention to even spell their names correctly. Perhaps while we’re at it, we can address this heinous color that we for some ungodly reason chose in the beginning. For ease of future adjustments, we’ll use a Hue/Saturation adjustment layer over top of our background layer so we can easily tweak the color as we progress on the mock. Here’s what I went with:

Using an adjustment layer, we can change the Hue/Saturation of this nasty colored background to something much more presidential.

Using an adjustment layer, we can change the Hue/Saturation of this nasty colored background to something much more presidential.

Step eight: Adding pretty flags

Now that we’re back on track, we can continue sprucing up our header somewhat. These presidential jokers really seem to have hardons over symbolism. And thank god for that shit dude, can you imagine life without your American flag pin? I sure as hell can’t. What I CAN imagine though is having some sort of American flag type of graphic in the background of our header. Looking at McCain and Obama websites, the designers approached this in kind of similar ways… the bullshit patriotic symbolism is handled in the background using faint glowing flag looking shit. We can easily reproduce this effect as long as we can find a suitable image. A quick Google search for ‘american flag wiki’ led us to this gem. Of course, we could make this ourselves, but I’m way too fucking lazy to make a bunch of lame ass stars and shit.

http://en.wikipedia.org/wiki/Image:USNavalJack.svg

Drag this sucker into your Photoshop file just above the Hue/Saturation adjustment layer we just messed with. Now we can ‘warp’ this image by command+T (control+T Windows people) to transform, and then right-clicking on the object and select Warp. Now bend this bastard around a bit to make it look like a waving blowing flag. Here’s what mine looks like:

Drag the shit out of the flag artwork to simulate a flag blowing in the wind.

Drag the shit out of the flag artwork to simulate a flag blowing in the wind.

Now, if we scale down the flag to around half-size, adjust the opacity to around 5-10%, and move it up to the header region, its starting to look like something. Add a mask to the flag layer, select the 100px soft round brush, and make sure your color is black. Paint around the outsides of the flag to trim it out of our nav bar, and lose those hard ugly edges.

Add a mask and use your brush tool to clean up the hard edges left by our warped artwork.

Add a mask and use your brush tool to clean up the hard edges left by our warped artwork.

Starting to look good. Lets duplicate that layer now, and flip it horizontally. Move it to the other side of the header, and adjust the opacity down to 2-3%. Now this bitch is starting to look a little presidential.

Flag artwork is looking good now that mask is complete. No more hard edges.

Flag artwork is looking good now that mask is complete. No more hard edges.

Mockup starting to take a little shape now with completed flag artwork.

Mockup starting to take a little shape now with completed flag artwork.

Step nine: Add Barack McCain face

Now’s a good time to grab our Barack McCain artwork that we created [in a tutorial that will be coming soon].

Here's our deformed mug of Mr. Barack McCain

Here's our deformed mug of Mr. Barack McCain

Drag the face image to our mockup right above the navigation layer group. Resize it to where it fits nicely in the header, and give that sucker a little bit of Smart Sharpen. Here’s the settings I use:

Using Smart Sharpen helps you recall some of that lost detail when we scaled our image down.

Using Smart Sharpen helps you recall some of that lost detail when we scaled our image down.

Mask the background out of our dude by adding a layer mask, choosing black for your color, and the Hard Round 19px brush. Now there are a million different ways to mask something in Photoshop and it seems like they add a new way each new version release. I still prefer the good ol’ brush technique as it’s the fastest, most accurate way for me. You could use the pen tool, and create your mask, however I’ve found this to be inhibiting. Sometimes, when dealing with hair for example, a very soft edge brush can work very well to kind of ‘fake’ the mask. Since our McCain head is rather bald, smooth and shiny, we don’t really need to use this here. In fact I should probably write another tutorial for masking. Anyways, continue masking using smaller brushes to get the nooks and crannies.

Painting on a layer mask will help us pull the background out of this face photo.

Painting on a layer mask will help us pull the background out of this face photo.

Step ten: Add a realistic drop shadow

One the dude is masked, we can go ahead and apply that layer mask, because we’re going to need to create a marquee selection of the guys face, so we can add a drop shadow. Now, you could use a drop shadow layer effect here, but it will look kind of gay and two-dimensional. Apply your layer mask (in the layers pallete) and command+click the layer thumbnail again to create a selection of the head. Create a new layer beneath the head layer, fill it black, and command+D to deselect. Apply a 5px Gausian Blur filter to the black shadow layer. This gives us the beginnings of a nice shadow effect, but lets dress it up just a tad.

Standard drop shadows like this just don't look that convincing. When I see drop shadows like this, it tells me the designer is not that advanced.

Standard drop shadows like this just don't look that convincing. When I see drop shadows like this, it tells me the designer is not that advanced.

Command+T to free transform the shadow layer. Right-click inside the bounding box and select ‘Perspective’. Dragging one of the top corners outward will give us an inverted pyramid looking shape. I don’t remember what they call them, but this is what we are going after:

By using the Perspective Free Transform tool, we can simulate proper 'light fall off' that a real shadow would have.

By using the Perspective Free Transform tool, we can simulate proper 'light fall off' that a real shadow would have.

Hit enter to accept your transform, and command+T once again. This time though, we’re just gonna cut the height down a little bit. This is going to give us the appearance of separation between the background and our candidates ugly face. Now drop down your opacity a bit to around 50% or so, and hit it with a couple few more gaussian blurs just to make sure it’s blended nice.

Notice already how much more perspective the shadow gives us. Now to soften it up more.

Notice already how much more perspective the shadow gives us. Now to soften it up more.

Step eleven: Clean up the overlap

Now we can hide the face behind the navigation bar. There are a hundred ways to go about this. For mine, I’m going to first group the face layer and the shadow layer, and then add a layer mask to that newly created group. Now, all I need to do is show the guides, and create a square marquee tool that will mask out everything beneath the top of the navigation bar.

The mask on our face layer group allows us to show the full navigation bar. You could put the layer group behind the navigation layers, but if you were to use transparency in your navigation bar, you'd need the mask anyways.

The mask on our face layer group allows us to show the full navigation bar. You could put the layer group behind the navigation layers, but if you were to use transparency in your navigation bar, you'd need the mask anyways.

Alright! We are making quite good progress, and our layout is beginning to take on a political shininess. We just need to beef up the logo a bit and add some finishing touches to the rest of the page, beneath the navigation bar. For the logo, some simple line tool shapes and a star shape should suffice. Hopefully, you have enough knowledge of Photoshop to get this looking similar so I won’t go into detail on this. Just remember to keep your layer groups in order, so changes down the road are much easier and quicker.

After logo treatment and a few other nick nacks, our mockup is complete and ready for slicing.

After logo treatment and a few other nick nacks, our mockup is complete and ready for slicing.

So now we’ve got a nice basic political website template. From here, we could easily add a secondary navigation bar in the header, a big fat red donate now button or any host of stuff really. In an upcoming tutorial, I’ll show you how to slice this bastard up as it is now, and build the CSS to create a working HTML template. Hope this tutorial helped. :)

4 Comments
Tags: , , ,

4 Comments »

  • excellent tutorial, how would you work that with css?

    Comment by gafaru on February 19, 2009

  • Great tut. Wondering about the Barack McCain tutorial. Email me when you get that online. Also if you want to make some extra money I would like to see if you would make me a mockup for my renewal site.

    Cheers.

    Comment by Stephen on June 11, 2009

  • Wondering if you might make a video of this tutorial for the laymen like myself.

    Comment by Stephen on June 11, 2009

  • Loved the explanation and setup for this. Has served as an inspiration, great work in combining the humour really well as well :D /

    Comment by KG on July 9, 2009

Leave a comment