| 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? |
|
|||||||
| Register | FAQ | Shooters | Calendar | Reviews | Tutorials | Gallery | Books | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Code Monkey
Join Date: Jan 2004
Posts: 1,012
|
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;
}
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;
}
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;
}
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;
}
Code:
.boxTop {
display: none;
}
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;
}
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;
}
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. |
|
|
|
|
|
#2 |
|
SmugMug CEO & Chief Geek
Join Date: Dec 2003
Location: Silicon Valley, CA
Posts: 1,203
|
|
|
|
|
|
|
#3 |
|
Wedding Photographer
Join Date: Apr 2004
Location: Southern California
Posts: 866
|
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 - photos.matthewsaville.com - matthewsaville.com/blog thebschool.com - A network for the *business* side of wedding photography... SoCal Photog Shootout - Shoot with other local photographers on Facebook... |
|
|
|
|
|
#4 |
|
Major grins
Join Date: Apr 2005
Posts: 1,829
|
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. |
|
|
|
|
|
#5 | |
|
Wedding Photographer
Join Date: Apr 2004
Location: Southern California
Posts: 866
|
Quote:
-Matt-
__________________
matthewsaville.com - photos.matthewsaville.com - matthewsaville.com/blog thebschool.com - A network for the *business* side of wedding photography... SoCal Photog Shootout - Shoot with other local photographers on Facebook... |
|
|
|
|
|
|
#6 | |
|
Major grins
Join Date: Mar 2005
Posts: 328
|
Quote:
-w
__________________
www.BrilliantPhoton.com |
|
|
|
|
|
|
#7 |
|
Major grins
Join Date: Aug 2005
Posts: 689
|
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.
|
|
|
|
|
|
#8 | |
|
Code Monkey
Join Date: Jan 2004
Posts: 1,012
|
http://www.dgrin.com/showthread.php?t=17467
#caption is now .caption Quote:
|
|
|
|
|
|
|
#9 | |
|
Major grins
Join Date: Aug 2005
Posts: 689
|
Quote:
|
|
|
|
|
|
|
#10 | |
|
Wedding Photographer
Join Date: Apr 2004
Location: Southern California
Posts: 866
|
Quote:
-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 - photos.matthewsaville.com - matthewsaville.com/blog thebschool.com - A network for the *business* side of wedding photography... SoCal Photog Shootout - Shoot with other local photographers on Facebook... |
|
|
|
|
|
|
#11 |
|
Big grins
Join Date: Apr 2005
Posts: 59
|
Edit Bio
Is there any way to widen the edit bio window?
|
|
|
|
|
|
#12 |
|
Major grins
Join Date: Aug 2005
Posts: 689
|
Matthew, yup. I looked at bigwebguy's page with the Firefox web developer tool. That is one handy little extension! Just click on "information" tab & it gives you all kinds of info indeed!
|
|
|
|
|
|
#13 | |
|
Major grins
Join Date: Aug 2005
Posts: 689
|
Quote:
|
|
|
|
|
|
|
#14 | |
|
Wedding Photographer
Join Date: Apr 2004
Location: Southern California
Posts: 866
|
Quote:
-Matt- [edit]Ooooooh, notice the edit box next to EACH gallery title? You can edit featured gallery titles straight from your homepage, cool! But like I said in the other topic, it would be utterly ultimate if I could switch from "Ti" thumbs to "Th" thumbs!
__________________
matthewsaville.com - photos.matthewsaville.com - matthewsaville.com/blog thebschool.com - A network for the *business* side of wedding photography... SoCal Photog Shootout - Shoot with other local photographers on Facebook... |
|
|
|
|
|
|
#15 |
|
Snap Happy in London
Join Date: Oct 2004
Posts: 187
|
Help!!!
Oh Gosh...
I haven't been on dgrin for a while, and from yesterday to today all my galleries and everything looks different. It's horrible, the position of the gallery windows is all over the place, the green is just yuk, and whilst I can read the "fixes" at the top of this thread, I have no idea what any of it means. I don't DO html. I have no idea what to do with the information given. What do I do now? I just want it to look like it did before!!! Please help. Yvonne
__________________
www.ybphotographic.com |
|
|
|
|
|
#16 | |
|
Now with 10% less fail
Join Date: Aug 2005
Location: Gainesville, VA
Posts: 2,713
|
Quote:
All my individually customized pages are broken. Very not pleased right now. |
|
|
|
|
|
|
#17 |
|
SmugMug Help Moddess
Join Date: May 2005
Location: Boise, ID
Posts: 3,310
|
Need a bit of guidance
I have several "empty" galleries where I have just listed information, links, etc. I suppressed images in these galleries before with the following code:
Code:
<style type="text/css"> .nophotos { display: none; } .opening { display: none; } img[width="84"][height="100"] { display: none; }</style>
__________________
Barb SmugMug Support Hero Captain DGrin: Help Pages SmugMug: Help Pages / Customizing FAQ / Tutorials Tools: Firefox and Firefox Web Developer / Tutorial Me: PhotoscapeDesign |
|
|
|
|
|
#18 | |
|
Now with 10% less fail
Join Date: Aug 2005
Location: Gainesville, VA
Posts: 2,713
|
Quote:
they removed the ability to put html markup in the description. anything between < and > is getting stripped out. i havent figured a way around it. it looks like they're probably using regular expressions to find the html tags in the description so it will be a tough nut to crack. i'll post if i figure anything out...but hopefully JT will either give us this feature back or enlighten us to another way to do this (along with a reason why they took this away). |
|
|
|
|
|
|
#19 | |
|
SmugMug Help Moddess
Join Date: May 2005
Location: Boise, ID
Posts: 3,310
|
Quote:
__________________
Barb SmugMug Support Hero Captain DGrin: Help Pages SmugMug: Help Pages / Customizing FAQ / Tutorials Tools: Firefox and Firefox Web Developer / Tutorial Me: PhotoscapeDesign |
|
|
|
|
|
|
#20 | |
|
SmugMug Help Moddess
Join Date: May 2005
Location: Boise, ID
Posts: 3,310
|
Quote:
Code:
.nophotos { display:none; }
__________________
Barb SmugMug Support Hero Captain DGrin: Help Pages SmugMug: Help Pages / Customizing FAQ / Tutorials Tools: Firefox and Firefox Web Developer / Tutorial Me: PhotoscapeDesign |
|
|
|
|
![]() |
| Tell The World! |
| Thread Tools | |
| Display Modes | |
|
|