Backgrounds, Icons, and Buttons

Well, as you can see if you’ve visited my site before, I’ve just updated the theme again. I like to create new design themes for my own site both for variety as well as to demonstrate some nice Artisteer, Photoshop, and WP tweaking techniques. I’ll list a few of those techniques in this post.

Photoshop:
Designing your own site elements really helps to tie the whole site together completely. By creating your own glare image, buttons, header images, etc. you can give your site a completely customized look without much work. For example, I created the background pattern using Photoshop. All I did was grab a plaid image off of the web (make sure you always only use copyright free images or pay for stock images!) I then, added the green, semitransparent crisscross stripe on a 100px x 100px image of the pattern. I also made sure to define it as a pattern so that I could use it in other elements of the design.

Artisteer:
The beautiful part of Artisteer is that it allows you to easily add your own graphics as texture, backgrounds, glares, etc. I uploaded my 100px x 100px image of the plaid and chose a tile repeat. I also chose the Overlay setting for the blending option in Artisteer and gave it a tiny bit of transparency so that the gradient I chose for the background would still show through nicely.

Artisteer comes with its own texture and pattern designs as well, which are nice to use. The header, button header, and footer are all sporting one of the many built in Artisteer texture graphics.

A great tip for Artisteer is to choose a nice solid background image or texture as a canvas for buttons and a logo you add to the code later. Note: Always make sure to make your header text as small as possible, the same color as your background, and put it in an out of the way spot in your header. This way, search engines will still find the text, but you will also be able to add a graphic as your main title.

WordPress Trick:
Because I had a relatively plain header to start with, I was able to add my own clickable logo button and social icons to make the header look complete and give it nice interactivity. To do this, simply follow these steps:

  • Create your images and upload them to your theme’s image folder.
  • Add appropriate div classes and links to your Header PHP. It should look something like this (added code in orange):
    <div class=”art-Header>
    <div class=”logo-png”><a href=”url” title=”Your Title”</a></div>
    You’ll need to copy and paste this same code for as many images that you want to add. Just make sure that you label them each based on what they represent, and of course change the display title url to match. You’ll need to use the exact name for the CSS.
  • Add  code to your CSS to display your images in the way that you want. Go to your Style Sheet CSS and find this /* begin Header */ Here is an example of the CSS code you should add for the example above (note, make sure to keep the div order the same as it is in the Header PHP):
    .logo-png a
    {
    position: absolute;
    z-index:0;
    top: 13px;
    left: 5px;
    width: 503px;
    height: 206px;
    background-image: url(‘images/header.png’);
    }

    You’ll need to make the width and height appropriate to your image size, change the position as desired, and most importantly make sure that your img url is the name that you saved your image is into your themes image folder.

Always make sure to save the php file before doing any editing in case you make  a mistake. You’ll most likely need to tweak the CSS several times in order to position your graphics exactly where you want them.

WordPress Pluggin:
I made good use of the Display Pluggin available through WordPress. This pluggin allows you to decide which pages you want certain widgets to be displayed on. Very helpful, and you could really have a lot of fun displaying a different graphic button for each page if you wanted to. (The images I added to the sidebar of the About and Welcome page is just some html I added to a text widget.)

I hope you enjoy this new theme, and please let me know if you are interested in a customized WordPress or Blogger theme with setup included.

© 2009 – 2011, Sarah Roberts – Reflecting the Designer. All rights reserved.

25 Responses to Backgrounds, Icons, and Buttons

  • Josh says:

    Hi, I stumbled across your website for an article about adding and editing buttons in a WP header and I really like your work. Do you do design work and customization for other people? What are your prices.

    God Bless

    -Josh

    • admin says:

      Thank you, Josh. I do offer all types of customized design work including both print design and web design from full CMS WordPress theme design and setup to individual icons or graphics. You can look at my Design Services Page to find out more details, and make sure to contact me personally if you have a specific job request.

  • DAINE says:

    Hey I really like the layout of this theme. I have used artisteer to generate a theme I really LOVE over anything I have seen commercial or not. The only thing I can not figure out is how to expand the header and footer like you have done here. I really want to know how to do this. I Would love the layout of this site. I would really REALLY appreciate it if you would share some code with me or give me a little direction as to get me theme to have the charicteristics of this one.
    Thanks,
    Daine

    • admin says:

      Thank you, Daine. It really depends on what version of Artisteer you are using to how the code will be altered. If you are using the latest version (V3) the options are already built directly into Artisteer itself. That’s what this theme was actually done in. I was expanding the header and footer while using 2.5 as well, although that required some code alteration. Basically, you need to move the header divs outside of the sheet. So, in your page template.php file you need to scoot the whole section above the sheet divs. Then, in your css, put your margin to 0 auto and change your width to 100%. You’ll need to alter your graphic or background color outside of Artisteer to fit. I usually make a graphic that I can repeat horizontally across the sheet. The same principal applies to the menu and footer. You can find a good article on the Artisteer forum with specific code here.

  • DAINE says:

    Thank you Sarah I replied at artisteer to your comments and thank you so much for your advice. I love your design you have here on this site. You have really shown some great graphics skill. It is very artistic and one of the better WP themes I have seen! I am a country recording artist and this layout will really help ALOT with what I want to achieve on my site if I can manage to achieve something similar. Thank you again for finding the time to help me out. Your advice and information will definately get me going in the right direction. Thank you again,
    Daine

  • Patrick says:

    Excellent Site and article however I cannot the wordpress trick to work. I have in the header.php
    and in the style.css
    /* begin Header */
    div.art-Header-Logo-png
    {
    position: absolute;
    z-index:0;
    top: 13px;
    left: 5px;
    width: 503px;
    height: 206px;
    background-image: url(‘images/clickforfreelesson.png’);
    }
    can you tell me where I am going wrong? I used artisteer 3 to make the theme

  • Patrick says:

    wierd this part got cut out
    that is what I have in the header.php the rest is in the style sheet

    • admin says:

      the div class you pasted won’t appear because WordPress comments are set up for html, so it is trying to find that class. Don’t worry about it. Where exactly in the header.php file did you put it? Make sure that it’s within the header wrapper just above the logo. Also, give your image a higher z-index as well, as it might be hidden right now behind the jpg.

  • Patrick says:

    i put it right after begin header. gave the z-index a huge number and nothing.

  • Patrick says:

    sorry, i misread your Q, i put it as you have in the example

    • admin says:

      Just read through my original post (which was done quite a long time ago.) Here are a few more things to watch out for or change.

      1. Make sure that if you copied and pasted from this site that you put it into a text editor such as notepad first. WordPress always switches the direction of quotation marks. So, check those first. In all my newer post I make sure to include that caveat, and I’m starting to upload notepad docs that people can use.

      2. You don’t need all of the extra code for making an image clickable anymore. You just need to put just after your div class and before the closing div. (make sure there are no spaces in the <a and </a, as I just included those so this appears in the comments.)

      • admin says:

        Ok, I just updated this post. Note the change in both the header.php file (a lot simpler code), as well as adding the “a” just after the div title in the css. Again, be sure to check on those quotation marks, too.

  • Patrick says:

    Still not working. Here is exactly what I have, notice I replaced all the divs with the word give so it shows up here… I have tried every single combination of things to fix this and cut and pasted to and from a notepad doc

    <a href=”http://learnyourenglish.com/?page_id=10”title=”clickforfreelesson”

    /* begin Header */
    div.art-Header-logo-png a
    {
    position: absolute;
    z-index:20000;
    top: 13px;
    left: 500px;
    width: 200px;
    height: 49px;
    background-image: url(‘images/clickforfreelesson.png’);
    }

    • admin says:

      Even when you paste into Notepad, you still need to adjust the quotation mark directions. It won’t automatically fix it for you. Also, try to just doing right: 0; to see if it shows up. Then if it does, adjust the spacing from there as necessary. Still couldn’t see the “give” class. ;) Sorry, it’s still looking for a class so it’s not showing up.

    • admin says:

      This may be a stupid question, but do you have your image uploaded into your theme’s image folder online? Also, double check the spelling that it is correct.

  • Patrick says:

    no not a stupid Q at all it is easy to overlook the simple things but believe me I checked that and even cut and pasted to avoid typos. i even cut and pasted the quotations that were already in the css and php over what I had to make sure they were right. darn i saw that it took it out. what can I change so it does not get stripped out?

    • admin says:

      I don’t mind taking a look at your actual files. Just email me your login info and url, and I’ll take a look at it.

    • admin says:

      You should be all set now. Just missing a bracket and your code needed to be scooted just above the logo since you are implementing flash as well. Just hard refresh (Hit F5) your screen to see the changes. Of course, you can change the position of your little button in the css as desired.

  • Kate says:

    Hi Sarah, I’m desperately wanting to add social icons to the header of a new theme i’ve created in Artisteer. I’ve got all the image files ready (the main header, plus 3 buttons); exported the theme as a zip file, gone in and added the images to the right folder.
    Then, i’ve opened the header php file from the zip, but there’s no div in it at all. Even for me this is an early crash and burn :) I’m trying to edit the files directly rather than installing into wordpress and using the editor there, does that change anything?

    Second daft question – if i’ve added the main header background image to the artisteer theme already, do i need to include that in the extra code as well, or is it just one instance of the php and css code per icon i’m adding?

    Sorry, i’m really clueless but learning !

    • admin says:

      When you say there is no div, do you mean there are no div tags for any items? Is there no header jpg or png div classes specified? If so, you are probably using a different version. If you are referring to the div wrapper I suggested using, than you’ll have to add that manually. Let me know which version of Artisteer you are using, and that will help know how to direct you.

  • Kate says:

    Hi Sarah, I’m using the latest full release, 2.6.
    The header.php file is pretty short and it’s the first situation – I’m looking for the div class “art header” to add the new code underneath, but it’s not there. Neither can i find any other div tags at all in the file.
    many thanks, Kate

    • admin says:

      If you are using 2.6, you’ll find all of the header divs within the page.php. You’ll just need to also change the code of the one-column.php file as well if you plan to use a single column page template as well.

  • Kate says:

    I’ve just upgraded to artisteer 3 as the full release came out today. I think i’ve edited the header.php ok but haven’t tried putting it live yet as i’m still working on the design in artisteer.

    Editing the style css file, i’m confused by what you mean about “most importantly make sure that your img url is the name that you saved your image is into your themes image folder.” – do i need to edit this line: background-image: url(‘images/header.png’); if i’m just adding buttons over a header image I uploaded within the Artisteer theme?
    many thanks, Kate

  • Alen says:

    Thanks a lot for this great tutorial
    It works for me very well :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Like This Theme?

Artisteer - Wordpress Theme Generator

Make your own theme using Artisteer, then come back here for tips on how to make the most use out of this powerful design tool!

Best Image Resource

iStock is my first choice when purchasing stock photography, vector graphics, video, or audio files. Check them out!

Recent Projects

Option Millionaires Option Millionaires Subscription Page

Recent Tweets

Powered by Twitter Tools