Making your signup page match your theme

By default, the signup page users get directed to is made to integrate into the default theme. As the site admin of the best new blog host on the block, you’re probably going to pick another theme so you can stand out in the crowd. With soem themes, the signup page looks horrible. While others have debated back and forth about how best to hack the wp-signup.php page or add in hooks or whatever, I’m here to tell you the dead-simple way.

If you look closely at the wp-signup.php file, you will see that all the guts of the signup form are wrapped in a div. This div is given the class attribute of “widecolumn” and an id of “content”. Because in the default theme, these attributes exist.

It’s likely whatever theme you’ve chosen (unless it’s a Kubrick mod) doesn’t have this class or id in its own stylesheet.

I like to do minor edits right on the server, so surf on in to your file manger and the style.css file of the theme you’ve chosen for your main blog. It doesn’t matter where you’ll add this bit, but I like to put it either at the very end with any other additions I might want, or near the main content div that may already exist. Check to see what the main content area is called.

Add this:

.widecolumn {
width: 450px;
}

You can tweak that width if needed.

If your theme has named the main content area div something other than “content”, then this is the bigger reason why the signup page doesn’t match your theme very well. Look in the stylesheet for something called “main” or similar. You can also find the name of this div by looking in the theme’s index.php.

When you’ve found it in the stylesheet, copy it, paste it right underneath and rename the copy to an id of “content”. Save your changes. Have a look at the signup page and note any small spacing issues. Tweak the stylesheet as needed, now that you know what to fiddle with.

[Post to Twitter] Tweet This Post 


bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
tabs-top  banner ad


7 Responses to “Making your signup page match your theme”

  1. gordob says:

    Thanks for your help on this. great work! it’s always the simple things!!

  2. fisheryouhn says:

    Aquarium fish that are compatable
    http://www.freewebtown.com/toyaquarium/
    Tips for caring for a fish aquarium

  3. Great info i love this site. It’s been really helpful. I’ve used.
    Please visit this blog http://clown-fish-saltwater.blogspot.com/

  4. IdaWebCo says:

    Thanks for the tips and a really wonderful resource. Keep up the great work!

  5. lisa says:

    Ha, once again — this will fix the ugly ass signup sheet. I’d been pouring over it with firebug and still hadn’t figured this out.

  6. lisa says:

    Actually, I’m compelled to add to this. The signup.php page looks fine (the widecolumn style applies and everything)

    It’s the wp-login.php and all variables thereof that looks awful, and I’m assuming it’s because the theme is not mu-friendly that it links to them at all. They must be eradicated.

  7. Del says:

    Thank you!

    I have been looking for this for two days. This is by far the easiest way to make the signup page presentable.

Leave a Reply