Welcome to Gaia! ::

Reply CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)
Getting Started - A CSS Over-ride listing Goto Page: 1 2 3 [>] [»|]

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

Spiral Nemesis
Captain

PostPosted: Fri Feb 17, 2006 4:14 am


GETTING STARTED
A CSS Over-ride listing

This is a big thread with most of the CSS shizzle to help some of those who are having a bit of trouble. If you still can't find your answer, then please, by all means, post in this forum for help. :3

If you have any new or wacky codes that aren't here, or if you have a better way of doing something, please post it in the forum. :3

References:
http://www.gaiaonline.com/forum/viewtopic.php?t=10945564

CONTENTS
Post 2 - Header, Navigation bar, Footer
Post 3 - Section headings, section backgrounds, comment bubbles
Post 4 - The body of the page
PostPosted: Fri Feb 17, 2006 4:15 am


HEADER, NAVIGATION BAR, FOOTER

HEADER
#extendedProfileBody #header h1
{
background: url('IMAGE URL')
}

Replaces the big banner at the top, with Gaia Online on it in huge letters. :3
Banner size: 760px wide, 150px tall.


Lady_Threnody
STATUS BAR CODE This is the new coding for the status bar located above your avatar in the "profile" section of the profile. Complete with hover coding.


#bar
{
background: none top left no-repeat;

}

#bar #onlineButton
{
background: transparent url(ONLINE STATUS IMAGE URL)
color: transparent;
}

#bar #offlineButton
{
background: transparent url(OFFLINE STATUS IMAGE URL) no-repeat;
color: transparent;
}

#bar #hiddenButton
{
background: transparent url(HIDDEN STATUS IMAGE URL) no-repeat;
color: transparennt;
}

#bar #addButton
{
background: transparent url(ADD IMAGE URL) no-repeat;
}

#bar #msgButton
{
background: transparent url(PM IMAGE URL) no-repeat;
}

#bar #tradeButton
{
background: transparent url(TRADE IMAGE URL) no-repeat;
}

#bar #ignoreButton
{
background: transparent url(BLOCK/IGNORE IMAGE URL) no-repeat;
}

#bar a
{
filter: alpha(opacity=0)
opacity:0;
}
#bar a:hover
{
filter: alpha(opacity=0)
opacity:0;
}

#bar a {display: block; height: 0; padding-top: 22px; color: #000; overflow: hidden;}

* html #bar a:link, * html #bar a:visited {height: 22px; height: 0;}

#bar #addButton a {width: 33px; background: transparent url(ADD IMAGE URL) -22px -90px no-repeat;}
#bar #msgButton a {width: 29px; background: transparent url(PM IMAGE URL) -22px -90px no-repeat;}
#bar #tradeButton a {width: 28px; background: transparent url(TRADE IMAGE URL) -22px -90px no-repeat;}
#bar #ignoreButton a {width: 34px; background: transparent url(BLOCK/IGNORE IMAGE URL) -22px -90px no-repeat;}

#bar #addButton a:hover {background-position: 0 0; z-index: 50;}
#bar #msgButton a:hover {background-position: 0 0; z-index: 50;}
#bar #tradeButton a:hover {background-position: 0 0; z-index: 50;}
#bar #ignoreButton a:hover {background-position: 0 0; z-index: 50;}

* html #bar a:hover {height: 22px; height: 0;}




NAVIGATION BAR

FOOTER BAR


No longer available due to Profile layout changes.

Spiral Nemesis
Captain


Spiral Nemesis
Captain

PostPosted: Fri Feb 17, 2006 4:15 am


BODY

This is for the content of your profile, sorted by section.

PROFILE
#profile H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #FFF;
text-indent: 10px;
}

Alters the heading for the Profile section.
You don't have to put an image if you don't want to, you can leave it as a block of colour.
If you want to get rid of the text in the header, increase the text indent to something like -2000px.


#profile
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

This puts a background behind where your avatar is, and puts a border around the whole box.
(If you want all your profile sections stuck together, remove the "margin-bottom" code.


#profile .avatar
{
display: url('XXX')
background: url('XXX') no-repeat top left;
}

Don't add the 'Display:' bit unless you want to change your avatar to something else.
'Background:' can change the Background behind the Avatar.



DETAILS
#details H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#details
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the details section.



WISHLIST
#wishlist H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#wishlist
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the wishlist section.



ABOUT
#about H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#about
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the about section.



FRIENDS
#friends H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}


Puts an image (or block colour) behind your headings.


#friends #friendGroup li img
{
background: url('IMAGE URL') no-repeat top right;
}

Puts a background behind each of your friends' avatars.


#friends
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the friends section.



JOURNAL
#journal H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#journal
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the journal section.



MULTIMEDIA
#multimedia H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#multimedia
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the multimedia section.



SIGNATURE
#signature H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#signature
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the signature section.



COMMENTS
I put this at the end because it's a bit longer and more complicated than the rest. :3
#comments H2{
background: #ffffff
url(IMAGE URL) no-repeat top left;
color: #000;
text-indent: 10px;
}

Puts an image (or block colour) behind your headings.


#comments
{
background: #FFF
url('IMAGE URL')
no-repeat left bottom;
border: 1px solid #000000;
margin-bottom: 10px;
}

Puts a background in the comments section.


#comments dl dt.avatar img
{
background: url('http://img.photobucket.com/albums/v148/suiki/avback.png')

no-repeat top left;
}

#comments dl dt.avatar2 img
{
background: url('http://img.photobucket.com/albums/v148/suiki/avback2.png')
no-repeat top right;
}

Puts backgrounds behind your commenters. Top part is for commenters on the left. Bottom is for commenters on the right.


.caption {
font-size: 11px;
border: 1px solid #000000;
background: #FFF;
}

.caption2 {
border: 1px solid #000000;
background: #FFF;
}

Alters the border and background of the Comment bubbles.


.caption:before {
content: url(TOP LEFT)
background: url(TOP RIGHT) top right no-repeat;
}

.caption:after {
content: url(BOTTOM LEFT)
background: url(BOTTOM RIGHT) bottom right no-repeat;
}

.caption2:before {
content: url(TOP LEFT)
background: url(TOP RIGHT) top right no-repeat;
}

.caption2:after {
content: url(BOTTOM LEFT)
background: url(BOTTOM RIGHT) bottom right no-repeat;
}

Replaces the corners of the comment bubble.
Your images should correspond to the positions I have put in capitals. For instance, your top left corner should go where I have put "TOP LEFT".


.caption .message {
background: url(IMAGE URL) top left no-repeat;
font-size: 11px;
}

.caption2 .message {
background: url(IMAGE URL) top right no-repeat;
font-size: 11px;
}

Replaces this image: User Image or User Image
The first part alters the first comment bubble. The second part alters every second comment bubble.



ALL
#friends
{
display: none;
}

Remove a section of your profile. (Replace "friends" with the section you want to disable. "Journal", "signature" etc.


body
{
cursor: crosshair;
}

Changes your cursor to a crosshair.
PostPosted: Fri Feb 17, 2006 4:15 am


THE REST

CONTENT BACKGROUND
#content #main
{
border-left: 0;
padding-left: 10px;
}

Gets rid of that ugly grey line down the right side of your profile, and spaces your sections out.


#content
{
background: #FFFFFF
url('IMAGE URL') no-repeat left bottom;
border: none;
}

Alters the background of the content of the profile (not the main background to the far right of the profile).


CENTERING THE ENTIRE PROFILE
#site
{
margin-left: auto; margin-right: auto;
}

Spiral Nemesis
Captain


Spiral Nemesis
Captain

PostPosted: Fri Feb 17, 2006 4:16 am


5.
PostPosted: Fri Feb 17, 2006 4:16 am


6.

Spiral Nemesis
Captain


Spiral Nemesis
Captain

PostPosted: Fri Feb 17, 2006 4:18 am


7.
PostPosted: Fri Feb 17, 2006 4:18 am


8.

Spiral Nemesis
Captain


Spiral Nemesis
Captain

PostPosted: Fri Feb 17, 2006 4:18 am


9.
PostPosted: Fri Feb 17, 2006 4:18 am


10.

Spiral Nemesis
Captain


Shadow Twerpy

PostPosted: Thu May 25, 2006 3:58 pm


For the avitar overide, where do you put the url?
PostPosted: Mon Aug 21, 2006 4:18 pm


That is so confusing! I CANT FIGURE IT OUT AT ALL!!! crying gonk

XxLittleMissSunshinexX


DemonExcalibur

PostPosted: Sun Sep 24, 2006 1:40 pm


Wow its confusing .... But it really did give me help thanks alot ! x]
PostPosted: Sun Oct 01, 2006 5:26 pm


Oh my gosh... I just played around with my mule's profile and figured some of that out. Only the basic basics though. I LOVE how you posted what everything does! :HEART: I'm totally new at this and I appreciate it!

Question!
How do you know colors and their codes? If I knew that I would be onto something!

Nekolover_8

Dapper Gaian

8,250 Points
  • Hygienic 200
  • Citizen 200
  • Happy Birthday! 100

K!TTY.bomb

PostPosted: Mon Oct 23, 2006 1:13 pm


I totally want to do that! heart
Reply
CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)

Goto Page: 1 2 3 [>] [»|]
 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum