Profile Styling Guide
Official site resource (Tutorials)

If you are a dark mode user,
please select "View custom theme"
--don't worry the CSS on this page has dark and light modes too!

~*~*~ This is somewhat a work in progress, everything is mostly here though! If you have any questions, please direct them to Ookami Kenran! ~*~*~

Table of Contents

🔗 Preface
🔗 Tools
🔗 Changing the Basics
🔗 Changing the Header
🔗 Meet the Elements
🔗 Extra Help
🔗 Legacy Transition Guide

Table of Contents

🔗 Preface
🔗 Tools
🔗 Beginner
🔗 Advanced
🔗 Expert
🔗 Extra Help
🔗 Legacy Transition Guide

Preface


The option to change your profile theme is on your profile, next to the "Edit page" option, called "Edit CSS".

You may need to refresh the page after you save to see the changes you made (most browsers cache style sheets).


On this page you can learn how to style your own profile using Cascading Style Sheets. This is a coding language that changes the presentation of a web page. If you're not familiar with this I suggest just copy-pasting the lines with the things you want to change into your box.

It is advised that you only change one or two things at a time so it is easier to find your mistakes. If you decide to play around with it more, note that the ordering is important; things more to the bottom take precedence over things written at the top. Keeping that in mind, I also recommend that you order your code in the way that it appears on the page to help you find things when coding.

If you are looking for further assistance, check out our help section.




Tools


Note that
color: ;
always refers to text.




★☆☆☆☆

CSS Comments

Comments are parts of the code that the browser will ignore, so you can make note for yourself and others.
/* */

I recommend you use them liberally!
/* An example of a CSS comment. */





★☆☆☆☆

Spacing

Whitespace is ignored when the browser reads the code, so you have some freedom when it comes to writing your code so that it is easier to read.
Example:
h1,
h2,
h3,
h4 {
color: #FFFFFF;
}

is the same as:
h1, h2, h3, h4 {color:#FFFFFF;}





★☆☆☆☆

Editing the Logo

You can easily change the color of the logo, but if you want to make your own image, make sure that the image still has "Chibi Pixel Doll Dress-Up" in it.

★☆☆☆☆

Changing the Color of Our Special Graphics

[Coming Soon!]

★☆☆☆☆

Color Values

[Coming Soon!]




★★★☆☆

The Background Property


Size


Position


Attachment


Repeat





★☆☆☆☆

Hide Things

You can easily hide elements with one line of code:
{ display: none; }

This is not really recommended, except for
elements noted in violet
.




★★☆☆☆

Alpha % to # Table

This is handy, because you can still have transparency and use hex values instead of rgb().
Ex:
#80808080
would be #808080 (gray) at 50%.
Here are some helpful values:
Max/Min
100% — FF
0% — 00
Thirds
33% — 54
67% — AB
Quarters
25% — 40
50% — 80
75% — BF

Tens
90% — E6
80% — CC
70% — B3
60% — 99
50% — 80
40% — 66
30% — 4D
20% — 33
10% — 1A





★☆☆☆☆

Font Weight

To make bold text normal:
{ font-weight: normal; }

To make normal text bold:
{ font-weight: bold; }

Learn more: .




★★★☆☆

Text Decoration










★★★★★

Gradients

[Coming Soon!]




★★★★★

Responsiveness

This refers to how a page responds to being on different devices.
[Coming Soon!]



★☆☆☆☆

Changing the Basics


/* === Changing the color scheme === */
/* Main background color, image, and text color */
body, .screenshot-bg {
background: #FF4F91 url(
http://example.png
);
color: #680025;
}

/* h1 is the page title, and h4 is the footer text, h2 & h3 are used on other pages */
h1, h2, h3, h4 {
color: #FFFFFF;
}
/* OR */
h1 {
color: #FFFFFF;
}
h4 {
color: #000000;
}

/* Link color */
a:link, a:visited, a:active {
color: #A60033;
}
/* Link color when you mouse over it */
a:hover {
color: #FFFFFF;
}




★★☆☆☆

Changing the Header


/* ======= Changing the Header ======= */
/* Changing the color of the header */
#header {
background: #2284C8;
}

/* Avatar/Login area */
#top_right {
background: url(spotlight.png);
}

/* Changing the color (or image) of the logo */
#header ul.menu {
background-image:
url(../../../img.php?logo=9420A2);
}

/* Main menu item colors (it may be nice to make the background match the page background) */
#header ul.menu a {
background: #FF4F91;
color: #08321D;
}
/* Changes in menu item colors when you move over it with the cursor */
#header ul.menu a:hover {
background: #000000;
color: #FFFFFF;
}
/* The selected tab (only needed if you have oekaki or you are an artist) */
#header ul.menu li.selected a {
background: #FF4F91;
color: #08321D;
}
/* When you hover over it */
#header ul.menu li.selected a:hover {
background: #000000;
color: #FFFFFF;
}





Meet the Elements


★☆☆☆☆

Comments Section


/* Comment area */
.comments {
background: #FF91B8;
}

/* Changing the speech bubble */
.speechbox span {
background: #FFDEE9;
border-color: #E33D75;
}
.bubble_tail {
background-image:
url(../../../img.php?bubble=FFDEE9&border=E33D75);
}

/* Giving all the avatars in the comment section a custom background */
td.avibox {
background: url(spotlight.png);
}

*The
-color
is needed for the border.




★☆☆☆☆

Secondary Menu

idk what to use for the temporary colors


/* Secondary Menu */

#content ul.menu a {
background: #FF4F91;
color: #08321D;
}
/* Changes in menu item colors when you move over it with the cursor */

#content ul.menu a:hover {
background: #000000;
color: #FFFFFF;
}
/* You can challenge yourself by looking at the main nav and guess how to do the selected version of the secondary nav, which you may not see unless your theme is veiwed on other pages. By default it just adds an underline. */





★★☆☆☆

Avatar/Login Area Continued

idk what to use for the temporary colors, these are default :P


/* Links */
#top_right a,
#top_right a:link,
#top_right a:visited,
#top_right a:active {
color: #DAE5F2;
}
/* Links when you hover over them */
#top_right a:hover {
color: #FFFFFF;
}

/* Buttons; I recommend making them look like the main nav */
#top_right input[type="submit"],
#top_right input[type="button"] {
background-color: #DAE5F2;
color: #274052;
}
/* Buttons when you hover */
#top_right input[type="button"]:hover {
background-color: #DAE5F2;
color: #274052;
}





★★★★☆

Other


/* The box containing everything but the header and footer */
#content {}

/* Custom boxes */
/* (created by typing
[block=exampleName]text[/block]
in your profile text)
Check out the Custom Blocks How-To Guide if you're lost. */
#exampleName {}

/* Your oekaki gallery (will show when you've drawn on the oekaki board) */
#oekaki {}
/* The border around each oekaki */
.framed {
border: ;
}

/* The box containing your profile avatar (right above your equipped list) */
#profile_avi {}

/* The list worn item icons */
#equipped {}

/* Cursor */
/* The image used must be a .cur file (using .ani will not appear on all browsers). */
body { cursor: url(image.cur), auto; }





★★☆☆☆

Artists


/* Changing your artist trunk colors/image (follow the template if you want to change the whole image) *
a.trunk {
background-image:
url(../../../img.php?trunk=96AFC2&straps=FFFFFF);
}





★★★☆☆

Event


These will show when you are wearing one.
Displayed in chronological order.
Default height is 50px.

/* Your Halloween pumpkin */
#pumpkin {}

/* Your Saint Nicholas shoes */
#shoes {}





Extra Help


If you need help, remember that google is your friend!

If you are interested in understanding better, is a great site to use to help teach yourself! I still use it for a !

If all else fails, you can talk to one of the CSS designers.

Or you can look for an active CSS shop to find someone to make a theme for you! 😊

Kenran's CSS Help Desk




Legacy Transition Guide


The legacy header had a gradient image over it, along with the #avatar, which is no longer utilized.
#header still works, but #avatar can be changed to #top_right if you want an image behind the login/user area.
(Click the link if you want to know more about the login/user area.)

If you miss the gradient, add
background-image: linear-gradient(transparent, #ffffff65);
after your background in
#header
.

You can add a bottom border like the old one with
border-bottom: 1px solid #274052;

(Click here for more on borders)

For the menu items, delete everything before the
{
and replace it with this:
#header ul.menu a
;
...and for when you move over it with the cursor:
#header ul.menu a:hover


If you are a site artist and those who have make oekaki, it would make sense to add the selected code:
/* The selected tab (only needed if you have oekaki or you are an artist) */
#header ul.menu li.selected a { }
/* When you hover over it */
#header ul.menu li.selected a:hover { }


Also, there is what I call a secondary menu now.

If you had a trunk, make sure it says
background-image:
and not just
background:
.

I recommend changing
table
to
.comments;
especially if something isn't working properly.
Before, this would edit your changing booth, but this its not currently possible.

For all the other little extras, they may not be on the new site, feel free to comment and ask.
Title:Profile Styling Guide
Last changed:March 9 by Ookami Kenran
Page views:356
Visible to:anyone
Can be edited by:authors only
<< Viewing 84 - 124 of 258 >|
November 22, 2009 17:09 ()
I think I might know what's wrong. I think the site layout somehow thinks this version of Firefox is the same as the Playstation Portable browser. I made some special adjustments especially for the PSP...
Karin
November 29, 2009 1:49 ()
On my friend's computer its all left aligned too.
Minami
December 2, 2009 22:39 ()
Wondering about something, guys. The layout right now, is it centered on those browsers it wasn't previously centered in?
Karin
December 4, 2009 1:31 ()
Nope. :V Still left for me.
Chich
December 8, 2009 18:26 ()
Sames~ >.<
Sakura
December 15, 2009 3:43 ()
Yeah, it's on the left for me too.
Tina
December 20, 2009 10:39 ()
How about now?
Karin
December 20, 2009 11:26 ()
OH MY GOD. I REFRESHED AND WABABABAA<MMMM!!!!!!!!!! XDDDD Finally I can see the site how it's supposed to be!
Chich
December 20, 2009 14:55 ()
YOU FIXED IT~ *W*
Thank youu, Karin! ♥
Sakura
January 25, 2010 14:35 ()
I noticed what i'm wearing now matches my profile.
Rosamond
January 27, 2010 4:41 ()
Oh, I thought you did that on purpose. XD

At some point I need to customize my profile...
Azkhadellia
March 28, 2010 9:37 (14 years ago)
Added some instructions for changing the colors of the header graphics.
Karin
May 4, 2010 7:34 (14 years ago)
They now got me to css at work. I wonder why they think I'm any good at that.
Karin
May 25, 2010 3:03 (14 years ago)
When I press "edit my profile", nothing happens -_-, the only thing that changes on the screen is the "edit my profile" turns into "stop editing my profile" . . . where do I set the theme to "custom"?
elaine3305
May 25, 2010 20:22 (14 years ago)
You first have to write something on your profile before you can change the theme. The comment box changes into the "edit profile" box.
Karin
June 21, 2010 22:08 (14 years ago)
hwo do you change the text in about/ heading/ comment text color?
iEatMusic
June 22, 2010 20:03 (14 years ago)
Add "color: #00FF00" to the area where you want it. So, for the heading: h1 {color: #00FF00;}, "about": #text{color: #00FF00;}, comments: table {color: #00FF00;}.
Karin
July 10, 2010 21:49 (14 years ago)
What would I do to remove the gaps between images?
Rose Mouse
July 11, 2010 7:55 (14 years ago)
The gaps are added automatically to prevent page stretching, but for profiles I could make it so it doesn't. This is about the poll thing, right?
Karin
July 11, 2010 16:49 (14 years ago)
Yeah, funny thing is, now the website I made the original poll I posted isn't working so the images broke.
Now I don't know if I can or how to post an html image. Is it possible?
For now I don't think you need to change the profiles, I'm worried it might mess up someone's layout or cause too many problems. >.<
Rose Mouse
July 11, 2010 22:32 (14 years ago)
Html image? If they gave you html code you can just put the url between [img] tags and it will work. Or did you mean an image map? I didn't make anything for that yet, no-one ever asked.
Karin
July 12, 2010 2:03 (14 years ago)
eye-dun-no...(I dunno) This thing:
<form method='post' action='http://mypollcreator.com/vote.php?id=9098' style='border: 3px solid purple; margin: auto; padding: 5px; width: 150px; background-color: pink'><table width='100%'><tr><td colspan=2 style='color: purple; font-weight: bold; text-align: center' >What color should I make my Big Bow item?</td></tr><tr><td colspan=2 style='color: purple; padding-top: 5px'><input type='radio' name='answer' value='Red'>Red<br><input type='radio' name='answer' value='Orange'>Orange<br><input type='radio' name='answer' value='Yellow'>Yellow<br><input type='radio' name='answer' value='Green'>Green<br><input type='radio' name='answer' value='Blue'>Blue<br><input type='radio' name='answer' value='Violet/Purple'>Violet/Purple<br></td></tr><tr><td><input type='submit' value='Vote' name='submitvote'></td><td><a href='http://mypollcreator.com/results/9098'>Results</a></td></tr></table></form>
wass-sat? (What's that?)
Rose Mouse
July 13, 2010 18:17 (14 years ago)
That's a complete html form. They don't normally work on sites like this one. I liked the site that had the images, what was it again?

I did want to make a poll feature especially for this site someday, but I don't know how much work it would be.
Karin
July 13, 2010 20:35 (14 years ago)
This is the this: http://sigpoll.com/
It's mysteriously working again, guess I would like you to remove the spaces on profiles now. Heh.
Rose Mouse
July 13, 2010 20:54 (14 years ago)
I already did that.
Karin
July 13, 2010 21:39 (14 years ago)
Oh! Cool, thanks!
Rose Mouse
August 20, 2010 2:16 (14 years ago)
Could you add a list of the bbcode tags allowed on CPDU, not necessarily in this wiki.
Rose Mouse
August 20, 2010 8:23 (14 years ago)
But there has already been such a list in the information booth for like, forever.
Karin
August 20, 2010 14:26 (14 years ago)
Bluuurgh! Sorry, I completely forgot that was there!
Rose Mouse
August 23, 2010 23:37 (14 years ago)
If we want to change the "Latest profile comment" link, what do we include in our CSS?
Rose Mouse
August 23, 2010 23:46 (14 years ago)
Also the color isn't changing when I hover over a link on my profile.
I'm using this code:

#menu { color: #000000 }
#menu a:link, #menu a:visited, #menu a:active { color: #DC2A71; }
#menu a:hover { color: #000000; }

How would I fix this?
Rose Mouse
August 23, 2010 23:50 (14 years ago)
Oh.. never mind about the links not changing color when hovered over.. I guess I didn't refresh the page or something... Hehehe.
Rose Mouse
August 26, 2010 19:19 (14 years ago)
To make the latest profile comment along you've got to use ".header" instead of "#menu". I changed it around recently because I couldn't remember why the code was .header... That's probably a bad reason to change something around.
Karin
August 26, 2010 21:05 (14 years ago)
Huzzah! Thank you!
Rose Mouse
August 31, 2010 23:38 (14 years ago)
I added some codes to change the speech bubble colors... and new logo colors, enjoy!
Karin
September 3, 2010 0:13 (14 years ago)
YAAAY!
Rose Mouse
September 9, 2010 0:47 (14 years ago)
Is it possible to add a scrollbar to a block? And can I change the text in the "Character description of ..." title?
Rose Mouse
September 9, 2010 9:51 (14 years ago)
That treasure chest is so cute!

I think you get a scrollbar when you set the width and height of the box and add blockname{ overflow-x: hidden; overflow-y: auto; }

And you can't change the text, but you could hide it, make a block with the new title, add style, and position it over there. (you'll have to consult Google yourself for that, though ;P)
Karin
September 9, 2010 18:06 (14 years ago)
Hehe, I made it yesterday. Thanks!

Yea I was searching google yesterday, but I'm guessing I can't do it the way those websites explained it.
If I add that it gives the whole block a scrollbar. I only want one in the faded part of the box. I tried a few things, but when you only know small parts of css from google, it's tough.
The site I was on said to give the box a header, body and footer image, but I didn't think that was possible here because just the header image would show up.
So right now it's just a block with a background image and padding to push the pixel things into the faded part. If I don't find a way to add the scrollbar, I'll just keep making the image longer and adjusting the padding. :/
I'll just leave the description text hidden.
Rose Mouse
September 9, 2010 20:13 (14 years ago)
Then why not put a block within a block? It should be possible. I've only done the scrollbar thing once, but it worked at the time: http://www.gaiaonline.com/profiles/?u=1402046

I think CSS was invented so you wouldn't have to do so much image editing.

What kind of text would you want to replace "character description of ..." with?
Karin
September 9, 2010 22:05 (14 years ago)
Hey, that's smartest thing ever, block on a block.. Thanks Karin!
And I just wanted it to say my user name instead.
Rose Mouse