Recreating the Sleek, Orange Subscribe Box on Blogussion
Recreating the Sleek, Orange Subscribe Box on Blogussion

Recreating the Sleek, Orange Subscribe Box on Blogussion

by Alex · 51 comments

I get a few emails every once in a while ask­ing me how I cre­ated the glo­ri­ous orange sub­scribe box you see in the sidebar.

The sub­scribe box we have in place here really stands out with the col­ors cho­sen, and makes find­ing sub­scrip­tion options a lot easier.

Today, I’m going to show you how to design and code it. Really, it’s very sim­ple. All we are design­ing is a back­ground image with some text and icons on it, and to code it — all it is is cre­at­ing a few classes. I will explain every­thing in bet­ter detail than this of course!

Require­ments for fol­low­ing this tutorial

  • To design, all you need today is Pho­to­shop, and a basic under­stand­ing of a few tools and how they work. The tools used are as follows:
    • Gra­di­ent + Fill Tool
    • Rec­tan­gu­lar Mar­quee Tool
  • For cod­ing, you should have a text edi­tor and an FTP pro­gram to upload your files.

Really sim­ple lit­tle setup we have here, so let’s begin.

Design­ing the Box in Photoshop

Step 1: Cre­at­ing the template

Start off by cre­at­ing a box, let’s say with the dimen­sions 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 ? Gra­di­ent Over­lay and put in the fol­low­ing set­tings to cre­ate that white shine you see on the top of the box:

Click the image for full view.

Click the image for full view.

Cre­at­ing a tiny indent

This is an effect I like to add to many of the tex­tures I cre­ate for the web. A sim­ple one pixel solid white line to the top of the image can really give the tex­ture a huge push.

So cre­ate a new layer, zoom in a lit­tle bit and draw a 1px solid white line across the top of the image. Set the layer to Over­lay and adjust the opac­ity if you feel it’s too bright.

By now you should have a sim­ple orange back­ground with a shine on top, and a 1px indent. We’re mak­ing progress!

Step 2: Adding Content

Alright, so we now have the back­ground of the box fin­ished, now it’s time to add some con­tent to it.

I always work down, I cre­ate the head­ing, write the short descrip­tion, then I cre­ated the input boxes to signup for our RSS Feed.

Just some basic set­tings I did to cre­ate these things:

Head­ing (“Sub­scribe” text)
  • Font: Myr­iad Pro
  • Color: #000
  • Drop Shadow Set­tings (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 Func­tion. I sim­ply changed the color by adjust­ing the Sat­u­ra­tion level, and added a small cir­cle beneath the icon to give it a shadow.

Cod­ing the Box

Cod­ing this box is really sim­ple. All we’re doing is plac­ing text in a con­tainer, replac­ing one line of text with an image, putting a back­ground image into an input box and mak­ing an icon break out of a box (may get tricky).

Step 1: Set­ting up the layouts

I will give you the basic out­line 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: Set­ting up the H3 Heading

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

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

Noth­ing com­pli­cated there. Basi­cally, that line is says to add a back­ground image with a height of “x” and a width of “x” to the H3 tag within the con­tainer marked as feed. Then, we have the line that makes it work, text-indent: -9999px; which will make the text dis­ap­pear and only dis­play the image.

If you don’t under­stand how it works, remove the text-indent prop­erty 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 tem­plate I gave you, but usu­ally when­ever 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 tar­get input forms. We are now work­ing 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. Basi­cally, we apply a back­ground image to the input box and give it a lit­tle padding so the text isn’t smashed up inside.

Step 4: Adding the “break­ing out” icon

One of the coolest things about the side­bar here are the icons that break out of the box in each lit­tle 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 cou­ple of ways you can make the icon break out of the box, and I will teach you the absolute posi­tion­ing way to do it. I think this way is much eas­ier, and a good way to intro­duce some of you novice coders to a very use­ful CSS method.

Add these lines to #feed .icon:

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

Now, the icon will have moved from the bot­tom left of the box to the top right of the box. You may need to adjust the num­ber of pix­els 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 sim­ple tuto­r­ial to do. Cre­at­ing the box in Pho­to­shop is very easy, and cod­ing it is almost eas­ier. Now, with a lit­tle tweak­ing you can make the sub­scribe box your own and add your own con­tent into it.

How did I do?

I am inter­ested in hear­ing what you guys thought of the tuto­r­ial. I don’t write tuto­ri­als often, so I am look­ing for feed­back on how I can improve the way I explain things like this to you. So be hon­est with me, did you like how this tuto­r­ial came out? Could you fol­low it eas­ily? Was every­thing explained well? Let me know, because I have plenty of other tuto­r­ial ideas I would love to start writ­ing here!

Go to top

Article by Alex

I'm the 17 year old blogger & designer behind Blogussion. I live in New Jersey (but root for the New England Patriots), and am a Junior in High School. You can check out my rarely updated personal(ish) blog, Asnio, or connect with me on Twitter.

From Planning to Earning

A free course that explains all you need to know about maintaining and building a powerful, money making blog.

Information is delivered through a beautiful web guide & a 10 day email course (+ a weekly newsletter). Sign up, or learn more!

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.

Reply

Alex October 17, 2009 at 11:33 am

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

Reply

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.

Reply

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

Reply

DIEwahrheit October 16, 2009 at 9:13 am

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

Reply

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

Reply

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

Reply

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.

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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!

Reply

Alex October 28, 2009 at 8:13 pm
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

Reply

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

Reply

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

Reply

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

Reply

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

Reply

Alex October 28, 2009 at 8:15 pm

Glad you enjoyed it!

Reply

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

Reply

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

Reply

Marcus October 26, 2009 at 6:54 pm

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

Reply

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

Reply

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

Reply

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.

Reply

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.

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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?

Reply

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?

Reply

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!

Reply

Gerhard April 2, 2010 at 11:29 pm

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

Regards

Gerhard

Reply

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..

Reply

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

Reply

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!

Reply

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

Reply

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.

Reply

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

Reply

SQL Server Tutorial July 23, 2010 at 12:03 am

Great subscriber box i must try this, thank you
SQL Server Tutorial´s last blog ..Transtact-SQL Overview

Reply

Leave a Comment

CommentLuv Enabled

5 trackbacks