PDA

View Full Version : Cant get homepage boxes to change colour


razer
Oct-25-2005, 07:24 AM
Heres the CSS code from my customisation page (stylesheet html);

/* changes the color of the box on homepage */
.box {
background-color: black;
}

/* Bio box no wrap text */
#userBio {
width: 550px;
display: inline;
float: left;
position: relative;
}
.journal_entry .caption {
width: 325px;
display: inline;
float: left;
position: relative;
}

/* Mouse over thumbnails makes them pop up */
.imgBorderOn {position: relative;top: 1px;left: 1px;}
.imgBorder {border-color: transparent;
_border-color: white; position: relative;top: 0px;left: 0px;}

Now eveything seems to work apart from the fact that i cant change the colour of the homepage boxes. Ive done a search and cant see why, i copied the code from another thread just to double check, and if i put in "silver" or "red" instead of black, the boxes still show as black, even when i logout. :scratch

Anyone have any ideas?

Also, now ive added an image to my page title, the login box is no longer there when im not logged in and i have to go to the smugmug homepage to login first, is that normal?


my webpage is www.razer.smugmug.com (http://www.razer.smugmug.com/)

Thanks

Andy
Oct-25-2005, 07:27 AM
Also, now ive added an image to my page title, the login box is no longer there when im not logged in and i have to go to the smugmug homepage to login first, is that normal?


Thanks

login, logout is at the bottom of your page...

razer
Oct-25-2005, 07:32 AM
login, logout is at the bottom of your page...Well that'll teach me for not scrolling down! :rolleyes

Thanks

Andy
Oct-25-2005, 07:32 AM
Well that'll teach me for not scrolling down! :rolleyes

Thanks

we're here to help :lol3
:wave welcome to dgrin btw

standby for one of the css experts on your other question....

razer
Oct-25-2005, 07:35 AM
we're here to help :lol3
:wave welcome to dgrin btw

standby for one of the css experts on your other question....
:D

standing by......

Mike Lane
Oct-25-2005, 07:35 AM
Change your first one to this:

.boxBottom, .boxTop {background: black;}

razer
Oct-25-2005, 07:40 AM
Change your first one to this:

.boxBottom, .boxTop {background: black;}
That works a treat! im guessing the box names have changed at some point then?

Not sure why, but i didnt come across that format when i did a search.

Many thanks for the VERY speedy reply!

Mike Lane
Oct-25-2005, 08:34 AM
That works a treat! im guessing the box names have changed at some point then?

Not sure why, but i didnt come across that format when i did a search.

Many thanks for the VERY speedy reply!
No there has been no change. It simply wasn't the div.box that was setting your color. the div.boxTop and div.boxBottom are inside of the div.box element.

razer
Oct-25-2005, 11:56 PM
okay, thanks.