Recreating the Sleek, Orange Subscribe Box on Blogussion

by Alex

I get a few emails every once in a while asking me how I created the glorious orange subscribe box you see in the sidebar.

The subscribe box we have in place here really stands out with the colors chosen, and makes finding subscription options a lot easier.

Today, I’m going to show you how to design and code it. Really, it’s very simple. All we are designing is a background image with some text and icons on it, and to code it – all it is is creating a few classes. I will explain everything in better detail than this of course!

Requirements for following this tutorial

  • To design, all you need today is Photoshop, and a basic understanding of a few tools and how they work. The tools used are as follows:
    • Gradient + Fill Tool
    • Rectangular Marquee Tool
  • For coding, you should have a text editor and an FTP program to upload your files.

Really simple little setup we have here, so let’s begin.

Designing the Box in Photoshop

Step 1: Creating the template

Start off by creating a box, let’s say with the dimensions 300×220. After that, select the paint bucket tool and fill it with the hex color #F86D12.

After you have your box, go to your top menu, select Layer ? Layer Style ? Gradient Overlay and put in the following settings to create that white shine you see on the top of the box:

Click the image for full view.

Click the image for full view.

Creating a tiny indent

This is an effect I like to add to many of the textures I create for the web. A simple one pixel solid white line to the top of the image can really give the texture a huge push.

So create a new layer, zoom in a little bit and draw a 1px solid white line across the top of the image. Set the layer to Overlay and adjust the opacity if you feel it’s too bright.

By now you should have a simple orange background with a shine on top, and a 1px indent. We’re making progress!

Step 2: Adding Content

Alright, so we now have the background of the box finished, now it’s time to add some content to it.

I always work down, I create the heading, write the short description, then I created the input boxes to signup for our RSS Feed.

Just some basic settings I did to create these things:

Heading (“Subscribe” text)
  • Font: Myriad Pro
  • Color: #000
  • Drop Shadow Settings (Layer ? Layer Styles ? Drop Shadow):
  • Click the image for full view

    Click the image for full view

Input Box
RSS Icon

The RSS icon I used is part of the free icon set by Function. I simply changed the color by adjusting the Saturation level, and added a small circle beneath the icon to give it a shadow.

Coding the Box

Coding this box is really simple. All we’re doing is placing text in a container, replacing one line of text with an image, putting a background image into an input box and making an icon break out of a box (may get tricky).

Step 1: Setting up the layouts

I will give you the basic outline of both the HTML we are going to work with and the CSS. Here you go.

<div id="feed">
 <h3>Subscribe</h3>

 <p>Feed pitch here.</p>

 <form>
 [email code here]
 </form>
 <span class="icon"></span>
</div>

And our CSS code will look like:

#feed {
          background: #f86d12 url(path/to/image.png) repeat-x;
          padding: 1em; /* may need adjusting */
          position: relative; /* this is used for the RSS icon, explained later in this tutorial */
}

	#feed h3 { ... }

	#feed p { ... }

	#feed input { ... }

	#feed .icon { ... }

Step 2: Setting up the H3 Heading

Because we made an image for the heading within our H3 tag, we want to replace the text we have with that image. It’s a very simple trick to do too. Right now, focus on your #feed h3 { ... } line in your CSS and add the following to it:

#feed h3 {
          background: url(path/to/image.png) no-repeat;
          height: xpx;
          text-indent: -9999px;
          width: xpx;
}

Nothing complicated there. Basically, that line is says to add a background image with a height of “x” and a width of “x” to the H3 tag within the container marked as feed. Then, we have the line that makes it work, text-indent: -9999px; which will make the text disappear and only display the image.

If you don’t understand how it works, remove the text-indent property from the line and look at the H3 tag to understand.

Step 3: Styling the input box

I didn’t include my input code in the template I gave you, but usually whenever you have code for an input box, it will look like this:

<form action="http://domain.com/">
 <input type="text" value="Enter your email address" />
 <input type="submit" value="Subscribe Now!" />
</form>

So, if you look in your CSS, there is a line that we will use to target input forms. We are now working in #feed input. Here is the CSS you can use:

#feed input {
          background: url(path/to/image.png) repeat-x;
          padding: 0.7em;
}

Not much going on here. Basically, we apply a background image to the input box and give it a little padding so the text isn’t smashed up inside.

Step 4: Adding the “breaking out” icon

One of the coolest things about the sidebar here are the icons that break out of the box in each little panel. In the CSS we are using #feed .icon to style.

So I will start out with the basic styles, just to make the icon show up:

#feed .icon {
          background: url(path/to/image.png) no-repeat;
          height: xpx;
          width: xpx;
}

After that, you should get an icon to show up, but with no formatting.

Now, there are a couple of ways you can make the icon break out of the box, and I will teach you the absolute positioning way to do it. I think this way is much easier, and a good way to introduce some of you novice coders to a very useful CSS method.

Add these lines to #feed .icon:

position: absolute;
right: -10px;
top: 5px;

Now, the icon will have moved from the bottom left of the box to the top right of the box. You may need to adjust the number of pixels you shift the icon to, but that’s really the jist of it.

Click for full size image

Click for full size image

There you have it!

All in all, that was a very simple tutorial to do. Creating the box in Photoshop is very easy, and coding it is almost easier. Now, with a little tweaking you can make the subscribe box your own and add your own content into it.

How did I do?

I am interested in hearing what you guys thought of the tutorial. I don’t write tutorials often, so I am looking for feedback on how I can improve the way I explain things like this to you. So be honest with me, did you like how this tutorial came out? Could you follow it easily? Was everything explained well? Let me know, because I have plenty of other tutorial ideas I would love to start writing here!

Back to the top

by

To learn more about this author and see all of their posts, click below.

View Full Profile →

Discover the Real Meaning...

of what it means to master the psychology of your blogging practice. Find out one of the most missed aspects to blogging now, totally free!

Kate Foy October 16, 2009 at 2:35 am

Now how did you know I was looking for just such a feed box? Terrific tutorial and well laid out, step by step so even a newbie could have a go with confidence. Many thanks Alex.

Thumb up 0 Thumb down 0
Alex October 17, 2009 at 11:33 am

Thanks a lot Kate! I’m glad you enjoyed the article. :)

Thumb up 0 Thumb down 0
Gordie Rogers October 16, 2009 at 3:09 am

That’s one sexy subscription box! Lol! It’s nice of you to share with us how to make it. Thanks.
.-= Gordie Rogers´s last blog ..Is There Anything That’s Unforgivable? Part 1. =-.

Thumb up 0 Thumb down 0
Alex October 17, 2009 at 11:34 am

Haha, thanks Gordie!
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
DIEwahrheit October 16, 2009 at 9:13 am

the “Sleek, Orange Subscribe Box” is verry originally recreated!
greez from Germany

Thumb up 0 Thumb down 0
Flash Your Tattoo Blog October 16, 2009 at 6:57 pm

This is perfect – I got the thesis theme recently but want to pretty it up . Most helpful. Thank you
.-= Flash Your Tattoo Blog´s last blog ..Female Tattoo Artist =-.

Thumb up 0 Thumb down 0
Alex October 17, 2009 at 11:34 am

Thanks, it’s very easy to add into Thesis!
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Rob October 16, 2009 at 7:34 pm

Great first tutorial Alex, you really did do a good job with it. I was able to follow-through with it well and things went great. I like how you used a different color to bring out the “subscribe” section of your blog. I agree with you that changing the color tone of the “subscribe” section of your blog will help readers be more aware to subscribe.

Thumb up 0 Thumb down 0
Alex October 17, 2009 at 11:36 am

Thanks Rob, glad you think the tutorial came out okay. :)

It really does help to make the subscribe box stand out so much. I think that is one of the reasons why we have been gaining as many subscribers as we do: because it’s so noticeable.
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Web Hosting Blog October 16, 2009 at 10:36 pm

Good stuff Alex, its a nice share, sexy subscribtion box attract more subscribers :)
.-= Web Hosting Blog´s last blog ..Influence of Web Hosting on SEO =-.

Thumb up 0 Thumb down 0
Alex October 17, 2009 at 11:36 am

I’m glad you enjoyed the tutorial! You’re totally right, it does attract people to clicking on it.
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Reza Winandar October 17, 2009 at 12:05 am

After reading this post I have and additional point, which is try to choose a light color like orange or red or yellow. This is an eyecatchy colors, which will attract more subscribers.
.-= Reza Winandar´s last blog ..5 Tips to Increase the Number of Subscribers for Beginner =-.

Thumb up 0 Thumb down 0
Alex October 17, 2009 at 11:37 am

I agree completely. Just like what we did here, the RSS box is the only orange color on the site – so it sticks out greatly.
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Simon | Teenius October 17, 2009 at 12:46 pm

Cool tutorial Alex, I’m still loving the subscription box you did for my site! I really feel that it stands out really well, but still fits in nicely with the rest of the theme, if you get what I mean? :p Sorry for being so vague!
.-= Simon | Teenius´s last blog ..Get Blogging Lessons From A Pro =-.

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:13 pm

Thanks Simon, I really like the one on your site too. One of my favorites I have ever designed!
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Carpet Cleaning October 17, 2009 at 6:11 pm

I think you have a bright future working with computers, I was amazed to see that a 16 year-old wrote that. Well done!

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:13 pm

Glad you think so!
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Liane YoungBlogger October 18, 2009 at 12:46 pm

I think you’re gifted at writing tutorials. Alex, there are like a lot of companies who are looking for your talent. :) This one’s great! I love photoshop tutorials :)
.-= Liane YoungBlogger´s last blog ..A Law-Abiding Blog – Following FTC’s Blogging Rules Starting With a Disclaimer Page =-.

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:14 pm

Glad you think so Liane! That only encourages me to write some more.
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
David October 18, 2009 at 5:59 pm

Excellent, excellent, excellent. I was trying to do this months ago.

Thanks Alex, this will help so many people. I always learn something when I pop over to this site!! You guys should sell some of custom-functions and CSS files :) I would buy them!!
Please add some more tutorials in future.
Thanks
.-= David´s last blog ..Google’s New Fade In Home Page =-.

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:15 pm

I’m really glad you liked it David! As for the custom functions and CSS, I think you’re onto something. ;)
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Make Money Blogging Online October 19, 2009 at 5:29 am

Thanks, Helped me a lot. I was looking for a good tutorial like this one.
.-= Make Money Blogging Online´s last blog ..Blogging – A New Way to Market =-.

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:15 pm

Glad you enjoyed it!

Thumb up 0 Thumb down 0
Blake @ Props Blog Ideas October 21, 2009 at 6:11 pm

To save a little time and headache doing the 1px white line across the top, you can just use image -> canvas size. Then anchor the image to the bottom middle and increase the height 1 px. (you have to make sure you pick white for your BG color. That is really helpful for those of us who don’t have a surgeon steady hand.
.-= Blake @ Props Blog Ideas´s last blog ..The Ten Commandments of Comment Etiquette =-.

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:16 pm

Or, just hold shift while dragging the line and it will stay in a straight line!
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Marcus October 26, 2009 at 6:54 pm

Great article you got here. It would be great to read something more concerning this theme.

Thumb up 0 Thumb down 0
Alex October 28, 2009 at 8:16 pm

Every time we write about our theme we see a pretty good reaction, so I think we will just have to keep doing it!
.-= Alex´s last blog ..8 Funny Things I Learned From Designing That I Apply to Life =-.

Thumb up 0 Thumb down 0
Blake @ Props Blog Reviews November 7, 2009 at 3:37 pm

I was trying to work up a subscribe box like yours using this tutorial, but I’m having problems displaying the RSS Icon.

When I use the Span tag, the icon doesn’t show up unless I type text.. Then the text shows up (maybe I’m using text indent wrong), and the Icon just shows up in the bottom left (even after I include the extra code you mentioned to make it “break out”).

Any idea what I might be doing wrong?
.-= Blake @ Props Blog Reviews´s last blog ..Let Click Booth Make You An Affiliate Rockstar =-.

Thumb up 0 Thumb down 0
Web Designing November 11, 2009 at 1:50 am

It is simple awesome, I would like to make one for my website using blue green mix of color. I would also try to round the corners of the box since that would be looking more smooth, thought this one is cool too. Great tutorial :)

- J.

Thumb up 0 Thumb down 0
lawton chiles November 18, 2009 at 10:21 pm

Alex, I found this while trying to stop banging my head against the wall. It seems you have gone a long way in relieving my frustrations. Thank you!

-Lawton

P.S I think my readers would love some blogging help-if you are up for an interview @lawton_chiles on Twitter.

Thumb up 0 Thumb down 0
Lam N December 16, 2009 at 3:46 pm

Hi Alex

I’ve been trying to apply this to my blog but am having heaps of trouble. Im using Thesis,

Ive got the subscription box done, i follow your steps but it just turns out to be a disaster, the thing is i don;t know what went wrong, is there anyway you can help me to shed some light and go in depth, is this tutorial for thesis?

i dunno im just lost now!

thanks for the tutorial though, ive been waiting so long to apply this but not that i just got wordpress and thesis i cant get it done,
.-= Lam N´s last blog ..MLM Traffic: Attraction Marketing Blueprint Part 2 =-.

Thumb up 0 Thumb down 0
Jaydip December 31, 2009 at 4:30 am

Hey Alex,

this is simply great tutorial. I loved it. this is best way to keep our blog unique. thx for sharing mate.

Regards

Jaydip
.-= Jaydip ´s last blog ..4 Ways to float internal link juice =-.

Thumb up 0 Thumb down 0
Ramses January 6, 2010 at 10:17 am

I’m mostly interested in the breaking out icon, but somehow it isn’t showing up when I put it in my widget bar.

This is the code is have:

And this is the CSS code:

Subscribe

Feed pitch here.

#feed .icon {
background: url(http://www.mandarin-only.com/rss-icon.png) no-repeat;
height: xpx;
width: xpx;
position: absolute;
right: -10px;
top: 5px;
}
.-= Ramses´s last blog ..How To Keep Momentum =-.

Thumb up 0 Thumb down 0
Ramses January 6, 2010 at 10:18 am

Hm, something went wrong with the HTML code.

Anyway, should is put something between the span tags?
.-= Ramses´s last blog ..How To Keep Momentum =-.

Thumb up 0 Thumb down 0
Gabe February 21, 2010 at 4:21 pm

Thank you for this tutorial. your site design has really inspired me as I have been working on my site – especially the colors. I have mostly gotten this to work for me, but I cannot get the Icons to break out of the box. I can move them to the correct location, but the part that should stick out of the box just doesn’t show.
.-= Gabe´s last blog ..God Became a Servant =-.

Thumb up 0 Thumb down 0
Cate March 14, 2010 at 11:24 pm

Hi Alex, you outline HTML ans CSS in the tutorial. Where do I enter these codes for the Thesis Theme? In the custom, custom functions or both?

Thumb up 0 Thumb down 0
Avinash D March 17, 2010 at 6:54 am

Hi Alex,

I have pretty much the same question as Cate does…where does all the code go in Thesis?

Thumb up 0 Thumb down 0
food recipes March 22, 2010 at 8:35 am

I am a newbie blogger alex, i think i can’t do it. He..But I’ll try it!! Very Nice Subscribe Box
.-= food recipes´s last blog ..Hello world! =-.

Thumb up 0 Thumb down 0
Gerhard April 2, 2010 at 11:29 pm

Hi,
what is the fontname from “Blogussion” , it´s very nice.

Regards

Gerhard

Thumb up 0 Thumb down 0
Boni April 16, 2010 at 10:33 am

The absolute position is only can controlled from the top, and right.
Is there anyway to make the position control from the bottom?
Because I want to make a picture that is always in the bottom if the pages is changed, with the top control it will only gives the exact position from the top, but I want it from the bottom, i try to change it, but bottom is not working.
Can you show me the way Alex?

Thank you before..

Thumb up 0 Thumb down 0
Penghuni Gubug May 7, 2010 at 12:58 am

still downloading latest Adobe… I’ll try this, thanks Alex, you’re rock!! :)
.-= Penghuni Gubug´s last blog ..Facebook Hack, Tak Peduli =-.

Thumb up 0 Thumb down 0
Audio Interconnect Cables May 15, 2010 at 7:35 am

I admire the useful information you provide in your posts. I’ll search for your own weblog and have my kids check up here frequently. I’m quite certain they will learn the lot brand new stuff here compared to anyone otherwise!

Thumb up 0 Thumb down 0
Iseng Ngeblog May 23, 2010 at 4:03 pm

Wow great rss box, but can i get your image because i can’t use photoshop
.-= Iseng Ngeblog´s last blog ..Kupon Hostgator 2010 =-.

Thumb up 0 Thumb down 0
Lisa June 16, 2010 at 11:07 am

I will try this but i’ll try in my local PC because i don’t have experience about editing themes before.

Thumb up 0 Thumb down 0
cirrusdance June 16, 2010 at 11:18 am

Yeah i have one blog that using thesis too and i don’t know how to do this in thesis

Thumb up 0 Thumb down 0
SQL Server Tutorial July 23, 2010 at 12:03 am

Great subscriber box i must try this, thank you

Thumb up 0 Thumb down 0
sutton plumbers September 19, 2010 at 12:37 pm

You have a fantastic post here, really informative. Very well written I shall be bookmarking this website and subscribing to your feed so i can regularly read content of this quality.

Thumb up 0 Thumb down 0
Kevin September 28, 2010 at 10:35 pm

your instructions are very confusing I tried following it but no good…Do you have any other suggestion for this?

Thumb up 0 Thumb down 0
Ryan Howard October 24, 2010 at 7:37 am

Theres that rad box again I just saw in another of your posts. I really must dedicate a weekend to learn photoshop–really wan’t to have this creative controll over elements of my sites.

Thumb up 0 Thumb down 0
James December 14, 2010 at 8:37 am

That code is pretty pimpin’

Thumb up 0 Thumb down 0
web hosting January 6, 2011 at 10:58 am

Nice tutorial. Most people do not show step by step how they made image and how to use photo shop. I like this post great for people to learn how to make own images.

Thumb up 0 Thumb down 0

Comments on this entry are closed.

Previous post:

Next post: