Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help?

Go Back   Digital Grin Photography Forum > Support > SmugMug Customization
Dgrinner
Password
Register FAQ Shooters Calendar Reviews Tutorials Gallery Books Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep-01-2005, 06:01 PM   #1
{JT}
Code Monkey
 
{JT}'s Avatar
 
Join Date: Jan 2004
Posts: 987
Upcoming changes to homepages

In order to give everyone a heads up on the upcoming changes to your homepages, I created some points of interest so you can be prepared and start stylizing early or transitioning your previous style.

Removing the word home and 's
At the top of your homepage it still says Soandso's Home. But you can now target each little thing to remove it if you want (or even replace it using javascript):
Code:
/* hides your name (including any 's) */ #userName { display: none; } /* hides the word home */ #userHome { display: none; } /* removed the 's */ .possess { display: none; }

Green Titles
Love them or hate them, the green text is on the homepages too now. If you want to change it to somethign that better suits you; use this code if you have not already done so:
Code:
.title { color: red; }

Box Color
In the previous design, we used a class called offshadowbg (could we have been any more vague?) to determine what color the boxes were on your homepage, the equivilant of offshadowbg in the new design is called box. So for those of you who only want to change the color of the boxes all you have to do is this:
Code:
.box { background-color: blue; }

How Boxes Work
Each box has the same generic makeup: a top and a bottom. The class boxTop is used to style the tops of each box and the class boxBottom is used to target the bottom.
If you wanted to get rid of the dashed lines in each box, you could use this code:
Code:
.boxTop { border-bottom: 0px; }

Let's say that you want to remove the descriptions from all of the boxes, you could use this code:
Code:
.boxTop { display: none; }
But, be warned that this also removes some code that you may need as the owner of the page, see the advanced section below on how to get them back when you are logged in.

Gallery/Category Boxes
Inside of the boxBottoms for Featured Galleries, Galleries and Categories are "miniboxes", where we arrange the photos, titles, descriptions, etc. They use the appropriate class: miniBox, here is how you would turn each one red:
Code:
.miniBox .albumTitle a.nav { color: red; } .miniBox .description { color: red; } .miniBox .updated { color: red; }

The Nitty Gritty
To fine tune your design each box has a unique ID assigned to it. So if you want to make the headline for featured galleries stand out (and no other box); you could use this:
Code:
#featuredBox .boxTop h3 { font-size: 20px; }
Don't be afraid to view the source and to look around for and ID or a Class, there are lots of them used and it will take us a while to document them all.

Advanced
Some new classes have been added to the body tag of each page. The classes change from page to page, so it is a good idea to take a look at the source code to see what is available. In my example up top, I said you could make the boxTops dissappear. Well, you can make them dissapear for everyone else, but reappear when you (and only you) are logged in:
.boxTop {
display: none;
}
.loggedIn .boxTop {
display: block;
}

So that is the new homepage in a nutshell. There are lots of other small changes to the other pages you have access to, let me know if you think a class should be moved or if I missed the boat on something important.
{JT} is offline   Reply With Quote
Old Sep-01-2005, 06:37 PM   #2
onethumb
SmugMug CEO & Chief Geek
 
onethumb's Avatar
 
Join Date: Dec 2003
Posts: 1,194
There's a preview image, a poll, and some more details on this thread .

Don
onethumb is offline   Reply With Quote
Old Sep-02-2005, 01:18 AM   #3
Matthew Saville
Wedding Photographer
 
Matthew Saville's Avatar
 
Join Date: Apr 2004
Posts: 643
Send a message via AIM to Matthew Saville
BigWebGuy posted this image once, for the smugmug gallery style, and it was VERY helpful:



Can anybody do this for us for the main page? Or tell me where I can get the program that does it? Thanks!

-Matt-
__________________
matthewsaville.com - matthewsaville.smugmug.com - matthewsaville.com/blog
thebschool.com - THE network for the *business* side of wedding photography...
SoCal Photog Shootout - Get together with other local photographers on Facebook!
Matthew Saville is offline   Reply With Quote
Old Sep-02-2005, 01:27 AM   #4
colourbox
Major grins
 
colourbox's Avatar
 
Join Date: Apr 2005
Posts: 1,560
The program that does it is the Web Developer plug-in for Firefox.
There is a similar add-on for Safari called WebDev Additions

Both are free.

I don't use these because I'm a CSS expert, I use them because I need their help. :)

OK now I gotta get some sleep.
colourbox is offline   Reply With Quote
Old Sep-02-2005, 02:08 AM   #5
Matthew Saville
Wedding Photographer
 
Matthew Saville's Avatar
 
Join Date: Apr 2004
Posts: 643
Send a message via AIM to Matthew Saville
Quote:
Originally Posted by colourbox
The program that does it is the Web Developer plug-in for Firefox.
There is a similar add-on for Safari called WebDev Additions

Both are free.

I don't use these because I'm a CSS expert, I use them because I need their help. :)

OK now I gotta get some sleep.

Got it! And I downloaded "iFox" just for kicks, oooooh! However I'm not seeing the CSS tool that displays all the CSS ID's / Classes in this nifty manner demonstrated in the screenshot, drat!

-Matt-
__________________
matthewsaville.com - matthewsaville.smugmug.com - matthewsaville.com/blog
thebschool.com - THE network for the *business* side of wedding photography...
SoCal Photog Shootout - Get together with other local photographers on Facebook!
Matthew Saville is offline   Reply With Quote
Old Sep-02-2005, 02:12 AM   #6
winnjewett
Major grins
 
winnjewett's Avatar
 
Join Date: Mar 2005
Posts: 328
Quote:
Originally Posted by Matthew Saville
Got it! And I downloaded "iFox" just for kicks, oooooh! However I'm not seeing the CSS tool that displays all the CSS ID's / Classes in this nifty manner demonstrated in the screenshot, drat!

-Matt-
Click on 'information' >> 'Id and Class Details'

-w
__________________
www.BrilliantPhoton.com
winnjewett is offline   Reply With Quote
Old Sep-02-2005, 02:30 AM   #7
peestandingup
Major grins
 
peestandingup's Avatar
 
Join Date: Aug 2005
Posts: 659
Did the #caption code get changed to something else? For instance, my #caption {text-align: center;} code doesnt work anymore. Neither do any of the other #caption codes.
peestandingup is offline   Reply With Quote
Old Sep-02-2005, 02:44 AM   #8
{JT}
Code Monkey
 
{JT}'s Avatar
 
Join Date: Jan 2004
Posts: 987
http://www.dgrin.com/showthread.php?t=17467

#caption is now .caption

Quote:
Originally Posted by peestandingup
Did the #caption code get changed to something else? For instance, my #caption {text-align: center;} code doesnt work anymore. Neither do any of the other #caption codes.
{JT} is offline   Reply With Quote
Old Sep-02-2005, 02:47 AM   #9
peestandingup
Major grins
 
peestandingup's Avatar
 
Join Date: Aug 2005
Posts: 659
Quote:
Originally Posted by {JT}
Hmm, that didnt work. But this code did. #caption_bottom {text-align: center;}
peestandingup is offline   Reply With Quote
Old Sep-02-2005, 02:56 AM   #10
Matthew Saville
Wedding Photographer
 
Matthew Saville's Avatar
 
Join Date: Apr 2004
Posts: 643
Send a message via AIM to Matthew Saville
Quote:
Originally Posted by peestandingup
Did the #caption code get changed to something else? For instance, my #caption {text-align: center;} code doesnt work anymore. Neither do any of the other #caption codes.
Yep! It's #caption_bottom now, instead. I think I might remember this being posted as a notice by Mike Lane or JT once, it might be an old change and not one that just rolled out tonight. Although I might have dreamt it too...

-Matt-

[edit] Ah-ha! see, I remembered that thread. It's just these 3:00 AM foruming sprees that make dreaming about smugmug very possible...

But yeah, looks like you two figured things out on your own in the time it took me to post this... I just spent 30 minutes discovering that .pagenav is different than .pageNav

...Bedtime!

-Matt-
__________________
matthewsaville.com - matthewsaville.smugmug.com - matthewsaville.com/blog
thebschool.com - THE network for the *business* side of wedding photography...
SoCal Photog Shootout - Get together with other local photographers on Facebook!
Matthew Saville is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Dgrin Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Times are GMT -8.   It's 03:07 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.