Vista Button

Average: 4.5 (260 votes)

Have a look at the end result you really need to see it to appreciate this tutorial :) also inside is a html/java script example of a
Rollover in action.

A friend of mine requested that i make a simple yet cool Vista style button tutorial for gimp, so here is what i came up with.

Step 1

Create a new image. 200x100 should be enough.

Step 2

Create new layer and name it vistabutton,grab the rectangle tool and draw a 100px50 rectangle.

Step 3

we will need to create a New Gradient for this vista button, so in the Gradient Dialog click on "new gradient" then right click on the left point and enter the color 252525, then right click the right end point and enter 9a9a9a...

Still in the gradient Right editor, right click on the middle point and select "Split segment at midpoint" then drag both new segments to the middle as shown below, then save.

Step 4

Grab the Blend tool select the new Vistabutton gradient we just made and apply it from bottom to top, make sure its perfectly straight, if you make a mistake then press CTRL+Z to Undo it.

Step 5

Now we will create a 1px outline around the button by Right clicking on the vista button layer, then click on "alpha to selection", create a new layer, name it "Outline" then go to select>Grow>1px.

Step 6

Change your foreground color to 424242 and fill the outline layer then place the layer behind the "vista button" layer.

Step 7

Zoom in to make it easy, and with the selection tool create a rectangle selection inside of the button as shown below.

Step 8

Now we will subtract the inner side of the rectangle we just created by either clicking on the "subtract from the current selection" button in the tool options, or pressing CTRL while drawing the rectangle.

Step 9

Create a New layer, Grab the Blend tool and apply a solid White colour to Transparent (FG to Transparent) Gradient from top to bottom ( make sure its straight) and finally adjusting the opacity to 64.

Step 10

Note* make sure you have the selection mode on "Replace the current Selection" after doing step 8. ok grab the rectangle selection tool and create another inner rectangle but this time at the bottom of the button.

Step 11

Grab the Blend tool, and in the "Tool Options" Drag the Opacity to 25 and change the " Shape to "Radial" now apply from the centre and drag the blend tool around 100px down.

This is how it should look

Step 12

Grab our favourite tool and create a 1px gradient at the bottom of the button

Step 13

Grab the "Blend tool" and adjust the "Opacity" to 80 and Shape to "Radial" then apply it from the middle to around 95px down.

It should look like this by now.

Step 14

Finally will Create the Reflection of the vista button by creating a rectangle selection half the size of the button,

Step 15

Set the Foreground colour set to cdcbcb use the (FG to Transparent) Gradient and apply it from from top to bottom. your done! your very Vista style button!

A sweet idea would be to make 2 different colours for roll-over effect by changing the colour of the radial gradient in step 11 to a blue.here is an example of a blue version.

Here is a live Html+javacript rollover example.Rollover in action

carlosp120's picture

nice tut

hey dude, really nice tut, the final result is awesome .

=)

Visitor's picture

code

How do you make the code?

carlosp120's picture

re: code

hey dude, u can go to:  this site, now just create the imegs on gimp and than replace them w/ that, edit the text color, and u have them ready, and fast and with rollover.
hope it helps.

awashington's picture

Help

As a complete beginner with GIMP, please advise on how to download the Tutorials.

sincere thanks

AlanW 

Visitor's picture

Wow

Really nice ;)

Visitor's picture

silly bit at the bottom

So to avoid having that silly bit at the bottom all I have to do is miss out the 1px gradient at the bottom?

 

Visitor's picture

A quick question

Really nice tutorial!

What is the font name/size you use for yur Vista buttons? I keep trying with different fonts and it always looks wrong.

Visitor's picture

Re: Vista Button

Really good work !!!

Visitor's picture

good

aha, real good

fedella's picture

Mouse on click

Really good tutorial.Smile

 I had made similar buttons for web menus and Iwould like to add something.

You can use easily duplicate #424242 layer

change this color to a lighter blue (f.e. #88bbdd) and use 3.png when mouse click.

 

 

PS: I don't know Js but in a css you'll need to put like that:

.nav a:active {

                    background: url('3.png');

                   } 

 Hope to contribute.

Visitor's picture

thanks

tkanks :) :)

El Llama's picture

Really cool!!

Nice tut man! 

 

ellamasblog.blogspot.com

El Llama

Visitor's picture

Fr3dy

Hi Gimper

Congratulations it's a very nice tutorial.

I want to translate in my web. can I do this?

 Thanks... 

Visitor's picture

mail

Can someone email me a empty button. i cant make this :( I do it wrong. its then ufly.Can someone mail me a emty button . No text ;)?

Please masil it at patrick@breaky.eu

Gimper's picture

download the vistabutton.xcf

members now can download the XCF gimp source file under the tutorial you will see "attachment"

Visitor's picture

AdW

Llego hasta el paso 7 nada mas, alguien me prodria decir como se hace el paso 8.

Gimper's picture

Re: Vista Button

anyone care to transliterate? :D

Visitor's picture

great tut

I put it in a translator and got this:
I arrive until step 7 nothing but, somebody prodria to say to me since step 8 becomes.
dunno what the last part means... :\

This is a great tut btw.
I might make a navbar for a website with it if I can figure out the rollover thing.

Visitor's picture

He's saying...

I only got up to step 7, could somebody please tell me how to do step 8?

Yeah... I'm from Venezuela.

Visitor's picture

This

What is the text and I don't see the xcf download link anywhere...

Gimpmine's picture

Excellent!

This is an excellent tutorial, Gimper! I'm a newbie to Gimp, and am now addicted to it. I can't find enough tutorials to do now ... I've done them all from here!

Anyway, please continue doing what you do. You are very good at it and I appreciate the time you spend doing these for us! Merry Christmas!

....to be continued....

Visitor's picture

Re: Vista Button

cool heps a lott@!

Visitor's picture

Re: Vista Button

Ah this is great. I used it on my companies web. I am not a very creative person. It is great to have those more skilled to show us how to do great things!
http://www.christi.ath.cx/pics/buttonstatic.jpg
http://www.christi.ath.cx/pics/buttonstatic.xcf

Gimper's picture

Re: Vista Button

nice work :)

djswartz's picture

Awesome

This is awesome! Thanks a lot.

Visitor's picture

Very cool

Hi, this is a very good tutorial. I love it. Keep up the good work ;). Cheers!

gmouse's picture

GIMP script

Hi Gimper, it is excellent. I made a GIMP script which more or less follow this tutorial, but I'm using Web2.0 Styles instead of manual gradient. Since you are the author of the tutorial, I'd like to have your permission to publish that script (to deviantart and some gimp script pages). In first version it can do only black buttons with highlight of any color you choose. I have a plan to add support for every Gloss gradient).

stalepretzel's picture

Just a small comment: I

Just a small comment:

I think that, for the rollover effect, an image map should be set up. Then , an area could be set up that covers the button, but not the reflection. Then, after assigning the rollover JS function to the specific area, the button would light only when the button itself was moused over.

Thanks for the tutorial,
stalepretzel

Visitor's picture

Re: Vista Button

here is how you use them if you put text in the image:
HTML:
[code]
&nbsp:
[/code]
Css:
[code]
.button1 {
background: url("image1.jpg");
}
.button1:hover: {
background: url("image1hover.jpg");
}
[/code]
and change the number for every link.

Zydoon's picture

Re: Vista Button

God this tutorial is hard

but coooool !

I found adding the blue color very hard, would you please explain it ? because doing the blend from top to bottom wont give that effect ?§?§

thank you very much,
Zydoon.

Visitor's picture

Re: Vista Button

Hmm... I get too select. I subtract from selection, but everytime I go to the blend tool, the selection disappears, and the gradient won't work right (Steps 7 and 8).

Visitor's picture

Re: Vista Button

Could you please inform me how to do the step 4?.
I have tried, but I don't know how to apply it from bottom to top?.

Gimper's picture

Re: Vista Button

all there is to it, is that you draw a rectangle selection on a transparent layer, then apply the gradient you made using the blend tool inside of the selection.

please use the forum help section ( i'll help you there) for detailed help like this, thanks

Visitor's picture

Re: Vista Button

Why do all technical computer people have to have God-awful writing skills? It's nearly impossible to follow this moron's tutorial.

Gimper's picture

yes i know my writing is

yes i know my writing is awful but i don't see you doing better with your great English, you should learn to appreciate peoples effort.

Drew Douglass's picture

Hi Gimper, I certainly

Hi Gimper,

I certainly enjoyed your tutorial, if that person couldn't understand it because of your so called "God-Awful writing" then they most likely have the IQ of a soap-dish anyway.

Just wanted to say thanks for the tutorial, much appreciated.

Regards,

Drew

Gimper's picture

Re: Vista Button

thanks :)

Tobi's picture

Re: Vista Button

Gimper, can you please attach a xcf file with the rollover effect button (and the same size as the previous one )?
ive tried getting it from the rollover i action but i failed
it wont let me remove the text.

i tried doing it my self
but im a beginner at gimp
and i messed up.

please reply if you can or cannot, thanks.

Gimper's picture

Re: Vista Button

the xcf file is attached below the tutorial.

tobi's picture

yes, but im asking for an

yes, but
im asking for an xcf file with the blue gradient
for step 11

Gimper's picture

Re: Vista Button

sorry i no longer have the gimp xcf file. its very easy, you should give it a go.

Tobi's picture

sigh, the only reason im

sigh,
the only reason im asking is because i cant seem to get it.
could you perhaps make another one that is the same size?
im trying to use the buttons fo a template
and i really think the rollover would help

Beam's picture

Re: Vista Button

"Change your foreground color to 424242 and fill the outline layer then finally place the layer behind the "vista button" layer."

Can someone clearly explain this sentence please?

Bart's picture

Re: Vista Button

Can't you rewrite the tutorial in normal english? I can't follow it... And it would be nice if you would tell where you can find the tools you use.

Gimper's picture

most of my tutorials are for

most of my tutorials are for people who know the basics of GIMP, you might want to try some of the beginners tutorials at gimp.org

btw i can tell Beam and Bart are the same people so stop spamming please.

you might want to try the forum and ask for help.

Visitor's picture

Re: Fr3dy

Yes... There are two ways to do so... Follow the instructions [url="http://www.cssdrive.com/index.php/examples/exampleitem/cssdrive_horizontal_menu_buttons/"]here[/url] or find a Javascript Tuorial on how to do this. I reccommend following the link above, because you can simple add things to your CSS and HTML and your done... Doing it in Javascript can take a long time in my experience.

tobi's picture

Fr3dy is right using css is

Fr3dy
is right
using css is way better

so gimper
can you add the attachment
with the blue gradient?

if you cant just say so

thanks

and i dont think beam and bart are spamming

Visitor's picture

Re: Vista Button

Thanks for the tutorial. I had some trouble with it, but I am also very new.

For the people who complained about it so rudely: Gimper does not owe you anything. He has taken time out of his life to post this in the first place. That is like complaining about free television.

rocktofakie3's picture

Re: Vista Button

How do i add the blue part in the last photo?.....

Like when someone hover overs it it goes to the blue one....

Gimper's picture

Re: Vista Button

same way you do step 11 but instead use blue.

Dan's picture

Re: Vista Button

I completed the tutorial to the letter and got the effect almost the same. Good tutorial, you are good at explaining things, some people just can't seem to produce coherant instructions. One point though, what the heck is the blend tool? I always call it the gradient tool.

Visitor's picture

Re: Vista Button

Great tutorial! What font you used?

Gimper's picture

Re: Vista Button

Thanks for the comment Dan, I also call it the gradient tool but GIMP's tooltip says "blend tool" so I went with that.

@visitor sorry i can't remember which font it was.

Komik şeyler's picture

Re: Vista Button

Thank you very much for this useful article. I like this site.

Ice Cone's picture

Re: Vista Button

Anybody have a pre made version I can use because this tutorial is wearing me out I feel... I'm finding some of it to be quite difficult... especially the selection part and making an outline along with the new layer.

Gimper's picture

Re: Vista Button

You can download the source xcf under "Attachment" below the tutorial.

Ice Cone's picture

Re: Re: Vista Button

Thanks.. I really appreciate you taking the time to do that...

steferfootballdude13's picture

Re: Re: Vista Button

Segoe UI Is the font i found it in the .xcf download file :)

thegman's picture

The button is great but.....

The button is great but..... I can't get beyond step 7. Could you provide more detailed steps? I also can;t find the xcf file referred to "at the bottom of the tutorial".

thegman

Gimper's picture

Here is the url to the xcf

Here is the url to the xcf source file.. http://gimp-tutorials.net/files/vistabutton.xcf
With the new redesign of the site attachments are only visible to members..

I'm not sure what help you need in step 7, all you have to do is draw a rectangle selection inside the button area leaving 1px of the bottom around your selection then continue on to the other steps.. if you need more help try the forums where other users can help you out better..

Jytte's picture

aaaw i thought this was a

aaaw i thought this was a script that could be run in Gimp just like the default Button ones :(

xaakx's picture

I love the tutorial!! I am

5

I love the tutorial!! I am rather new to GIMP, but found this rather easy overall! Here is a link to my site which I am using the buttons I created using the tutorial.

http://www.cwdesigns.co.cc

I hope you like the site!

Gimper's picture

Nice work xaakx . It's always

Nice work xaakx . It's always nice to see people making use of these tutorial :)

Bandon's picture

great tut but step 8 is not

great tut but step 8 is not working for me i have gimp 2.6 and its not lettin me subtract it

Gimper's picture

@Bandon, there isn't any

@Bandon, there isn't any difference between 2.4 and 2.6 in the way you subtract from selections. could you be more specific about what your having trouble with it?

Thanks

napamikey's picture

Step 8 was a problem for me

5

Step 8 was a problem for me since the layer I created did not automatically move to the front so the border was covered up. Once I moved it up to the from I could see it easily. Thanks for the great tutorial!

Gimper's picture

Your welcome :)

Your welcome :)

Visitor's picture

Crappy tutorial, step 8

1

Crappy tutorial, step 8 doesn't work. This tool does not work, and control does nothing. Is this using an old Gimp?

Visitor's picture

Just wanted to say thank you

Just wanted to say thank you for this tutorial. It opened my eyes to the simplicity of gimp and making attractive looking designs. I took the tutorial and was able to make orange, blue, and standard black/gray buttons of different shapes and sizes. This is the kind of thorough tutorial that makes non-designers lives easier! Great Job!

Once the website I'm using the buttons on is live, I'll post it (hoping for this January!)

Gimper's picture

Your welcome. I'll be

Your welcome. I'll be interested in seeing it live on the site :)

Kitty's picture

I'm glad I have photoshop,

1

I'm glad I have photoshop, makes this a 3 click process.

rainbow dash's picture

Hmm, I'll try this in the

4

Hmm, I'll try this in the morning.

Visitor's picture

How do you add the images to

How do you add the images to a web page so that there is no gap between them?

Visitor's picture

Do V 2.4 and V 2.6.4 have so

3

Do V 2.4 and V 2.6.4 have so much differences?
When I'm making the radial shape and then want to make it blue, it looks totally different from yours...

You should explain how to color the shape for the rollover.

GeoffreyTransom's picture

The only thing that detracts

4

The only thing that detracts from teh.awesome in this tute, is the absence of some guidance regarding how to put the 'blue highight' in place. otherwise i would have clicked '5 stars'.

I have been plotzing around for a while trying to put the highlight in place, but have only succeeded in making a mess of copies of the 'default' XCF file.

Frankly I can't get anything remotely like the 'blue flare' version of the thing (for the 'hover' version for my site)..

I've also decided to 'flatten image' (with no text layer), in order to 'stretch' the button if the button text is longer than 'Sample': I know that will 'stretch' the little side highlights, but only by a few percent. Otherwise, one is forced to re-build the entire button in order to keep the same let an right padding on button text.

I wish I could get hold of that blue-flare button - the colour balance is so 'right'.

Also, thanks to those folks who pointed out the font - it is one that I quite like.

Cheerio

GT
http://marketrant.blogspot.com

Donot's picture

Hi Gimper I really like your

4

Hi Gimper
I really like your tutorials, they are great:)
Now I wanted to try this one here but I got confused at step 5. You talked about the layer "vistabutton" but you never said before that we are creating a layer called "vistabutton". And then the thing with the 1px outline. I just do not understand this step. I am doing it just like you are describing it, but nothing happens.
Am I just too stupid to understand?
It would be great if you could reply and help me:)

So long, Donot

btw. I am 15 years old and from Germany, so do not wonder about grammer mistakes;)

GARID's picture

AWESOME :D

AWESOME :D

Rachel's picture

I loved this tutorial! This

5

I loved this tutorial!
This was my first time on GIMP and I found this easy, but with a professional result |D

Visitor's picture

really great buttons! I used

really great buttons! I used Vista Buttons application http://vista-buttons.com/ to make similar nice buttons, but it's not so difficult with Gimp!

Chanio's picture

thank you! All the complains

5

thank you!
All the complains are from people that haven't practiced with Gimp a lot.
If in a hurry to leArn the basics you should watch the YouTube videos for a while...

ravenh's picture

Umm,

Umm, ripoff?

http://yellowicon.com/

cgseif323's picture

Thanks sooo much I've been

5

Thanks sooo much I've been looking for this for ages!