PDA

View Full Version : NHDave's customization thread


NHDave
Jan-16-2008, 06:39 AM
Hi all,

Newbie here, I recently upgraded to smugmug pro and
have been lurking the last few weeks and have made some
changes to my page. I tried to glean as much information
from the existing threads but since I'm not all that inclined,
I've sort of hit a wall... The gist of what I'd like to do is
display some of my baseball photography however once the
spring starts I plan to sell little league shots online


here is my smugmug page address. Note, my logo is being
worked on so my custom banner is not quite ready...

www.DaveJL1984.smugmug.com (http://www.DaveJL1984.smugmug.com)


Here are some things that I'd like to work on

1. how do I change the "photo timeline" so it does not
display on my home page?

2. I'm having difficulty linking up my domain name
to my smugmug page. It seems
as if it's in forwarding mode and doesn't display once I
get there.

3. On my Info button, I'd like to have an "about me" type
page with text and photo. I was talking to this person on
POTN and I really liked the way she had an Info button with
a contact inquiry form as a dropdown.

http://www.photographybywidget.com/


4. I would also like to create dropdown choices for my
galleries button (little league baseball, minor league baseball
etc...)


I'm continuing to work on it however any help anyone
can give me, or at least point me in the right direction is
GREATLY appreciated.


Thanks! Dave

Allen
Jan-16-2008, 08:31 AM
..
1. how do I change the "photo timeline" so it does not
display on my home page?..
One small step at a time. Assuming you'll eventually be adding a galleries page
that will show the timeline add this to your CSS.

.homepage #datesBox {display:none;}
.galleries #datesBox {display:block;}

Allen
Jan-16-2008, 08:34 AM
...
3. On my Info button, I'd like to have an "about me" type
page with text and photo. I was talking to this person on
POTN and I really liked the way she had an Info button with
a contact inquiry form as a dropdown.

http://www.photographybywidget.com/
.
So that's where Janis is hanging out.:D Her page is just like your Guestbook
page, create a new private gallery and set to journal.

denisegoldberg
Jan-16-2008, 09:25 AM
...
2. I'm having difficulty linking up my domain name
www.sportsphotosnh.com (http://www.sportsphotosnh.com) to my smugmug page. It seems
as if it's in forwarding mode and doesn't display once I
get there.
...
You need to set up a CNAME for your URL. Info available at http://www.smugmug.com/help/professional-accounts.

--- Denise

NHDave
Jan-17-2008, 04:20 AM
Thank you for the replies everyone. I was able to
get started on an "about me" page, removed the photo timeline
from my front page, and linked the navbar to my sports
galleries. I've also contacted my domain host regarding
the CNAME issue... I should hear back any day :)


I do have a couple of questions...


1. For the pages that wouldn't need checkout (about me,
guestbook) how can I remove the "gallery pages 1 buy
multiple photos checkout" bars?

2. although I see the guide to square up text in your bio, how
would I apply that to do the same in a journal type gallery?

3. Lastly, I created a temporary banner, that I've uploaded
and followed the code to post in my header. so far nothing,
have I missed anything?


Thank you again for helping me...

www.DaveJL1984.smugmug.com (http://www.DaveJL1984.smugmug.com)

Allen
Jan-17-2008, 10:08 AM
Thank you for the replies everyone. I was able to
get started on an "about me" page, removed the photo timeline
from my front page, and linked the navbar to my sports
galleries. I've also contacted my domain host regarding
the CNAME issue... I should hear back any day :)

I do have a couple of questions...

1. For the pages that wouldn't need checkout (about me,
guestbook) how can I remove the "gallery pages 1 buy
multiple photos checkout" bars?
In each gallery turn off printing and the cart buttons will go away.

You will then not need this in your CSS.

/* removes the cart buttons from the xxxxxxx Gallery */
.gallery_4179524 .cartbuttons {
display: none;
}

Add this to your CSS

/* guestbook gallery */
.gallery_4139462 #albumNav_top {display: none;}
.gallery_4139462 #albumNav_bottom {display: none;}
.gallery_4139462 #breadcrumb {display: none;}
.loggedIn .gallery_4139462 #breadcrumb {display: block;}

/* Info gallery */
.gallery_4179524 #albumNav_top {display: none;}
.gallery_4179524 #albumNav_bottom {display: none;}
.gallery_4179524 #breadcrumb {display: none;}
.loggedIn .gallery_4179524 #breadcrumb {display: block;}
2. although I see the guide to square up text in your bio, how
would I apply that to do the same in a journal type gallery?
Not sure what you're asking, both those galleries have the text in the caption.
3. Lastly, I created a temporary banner, that I've uploaded
and followed the code to post in my header. so far nothing,
have I missed anything? In your CSS change this

#my_banner {
width: 750px;
height: 150px;
margin: 0 auto;
background: url(http://www.davejl1984.smugmug.com/gallery/4179731#244197440-O-LB) no-repeat;
}

to this, you need the actual photo link and not the gallery location.

#my_banner {
width: 750px;
height: 150px;
margin: 0 auto;
background: url(/photos/244197440-O.jpg) no-repeat;
}

You don't need this with the above CSS.

.homepage #my_banner {
display: block;
}
Thank you again for helping me...

www.DaveJL1984.smugmug.com (http://www.DaveJL1984.smugmug.com)
btw, you have two of these, might remove one of them.

/* hides your name (including any 's) */
#userName {
display: none;
}

NHDave
Jan-18-2008, 05:26 AM
that did the trick, thanks again for your help... I'll be spending more time on it this weekend.

NHDave
Jan-22-2008, 06:33 PM
Have a couple further questions... I've tried to look up
the answers but can't find them...


1. I'd like to completely remove the small smugmug header above my
banner.

2. How can I place my navbar buttons below my header rather than
above?

3. any way to modify the text in a journal gallery entry (color, style,
etc) ?

Thanks, Dave

denisegoldberg
Jan-22-2008, 06:48 PM
1. I'd like to completely remove the small smugmug header above my
banner.
In your control panel, scroll down until you see the section labeled display SmugMug header. Select no.

2. How can I place my navbar buttons below my header rather than
above?
Check your header section. You have the code for your navbar (<div id="navcontainer">) at the beginning, followed by the code for your banner (<div id="my_banner">). Change the order of the code so the div for your banner is first.

3. any way to modify the text in a journal gallery entry (color, style,
etc) ?
You can either set up a div in your CSS to modify selected descriptions, or you can modify all captions for journal-style galleries.


Example of some CSS that you could use some of (but not all of) the time:#my_specified_display {
text-decoration: none;
font-family: verdana, arial;
font-size: 100%;
font-weight: bold;
}

This could be referenced in a caption by placing the following in the caption:<html>
<div id="my_specified_display">
enter your text
in as
many lines as you need or want
</div></html>

--- Denise

NHDave
Jan-23-2008, 08:28 AM
Thanks Denise, worked great!

NHDave
Feb-11-2008, 02:59 PM
Hi,

I have been working on some of the graphics etc for my
site, and wanted to take the next step and change my navbar
so it can dropdown into the following categories. The orientation
of my bar is horizontal, I listed vertically to keep things from
running into each other...



(1) Home

(2) Info (drops to)

About Me
Contact Us

(3) Galleries (drops to)

Little league Baseball
Minor League Baseball
NECBL Baseball
Spring Training Baseball
Band Photography

(4) FAQ

(5) Guestbook (drops to)

Guestbook
Links


I have read the tutorial on the dropdown nav bar, I'm
a little lost as where to begin. If I could get a little help pointed
in the right direction it would be GREATLY appreciated...



Thanks, Dave

Allen
Feb-11-2008, 04:21 PM
Hi,

I have been working on some of the graphics etc for my
site, and wanted to take the next step and change my navbar
so it can dropdown into the following categories. The orientation
of my bar is horizontal, I listed vertically to keep things from
running into each other...
...

Thanks, Dave
Here ya go.
Add this to your header nav html.

<div class="menu">
<ul>
<li><a href="/">Home</a></li>
<li><a class="drop" href="#nopick">Info
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="/gallery/4179524">About Me</a></li>
<li><a href="mailto:DaveJL1984@aol.com">Contact Us</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a class="drop" href="#nopick">Galleries
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="Link">Little league Baseball</a></li>
<li><a href="Link">Minor League Baseball</a></li>
<li><a href="Link">NECBL Baseball</a></li>
<li><a href="Link">Spring Training Baseball</a></li>
<li><a href="Link">Band Photography </a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a href="/gallery/4227072">FAQ</a></li>
<li><a href="/gallery/xxxxxxx">Links</a></li>
<li><a href="/gallery/4139462">Guestbook</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</div>

Add this to your CSS. I has the code for flyouts if you ever need them also.

/* CSS Dropdown Nav Bar */
/* Original code by Stu Nicholls of */
/* http://www.cssplay.co.uk/ */
/* Edited by me for content, formatting and some elements */
/* Please help support CSSPlay at: */
/* http://www.cssplay.co.uk/support.html */

/* Common Styling */
.menu {
position: relative;
display: block;
z-index: 99;
padding: 20px 0px 30px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container */
width: 616px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin: 0 auto;
}

.menu ul {
padding: 10px 0px 10px 0px; /* this effects menu centering if too big */
margin:0 auto; /* this maybe not needed? */
list-style-type: none;
}

.menu ul li {
/* margin: 0 2px 0 2px; */ /* adds space between main menu boxes */
float:left; /* WARNING: float right reverses menu */
position:relative;
}

.menu ul li a,
.menu ul li a:visited {
display: block;
font-size: 1em; /* main buttons */
color: #7FFFD4; /* main buttons text non-hover*/
text-decoration:none;
text-align: center; /* centers text in buttons */
width: 100px; /* main box width */
height: 20px; /* main box height */
/* border: 1px solid red; */ /* start your design with borders on, easier to position DD's & FO's */
/* border-width: 1px 1px 1px 1px; */
background: #000; /* main button color */
padding-left: 0px;
line-height: 20px; /* positions text up/down in box */
}


* html .menu ul li a, .menu ul li a:visited {
width: 104px; w\idth: 104px; /* IE main button */
}

.menu ul li ul {
display: none;}

/* */
/* Specific to Non-IE browsers */
/* */

.menu ul li:hover a {
color: #7FFFD4; /* main when hover DD */
background: #000; /* main when hover DD */
}

.menu ul li:hover ul {
display: block;
position: absolute;
top: -6px; /* FF DD up down */
margin-top: 17px; /* FF main mouse active vertical */
left: 0px; /* FF DD right left */
width: 104px; /* unknown */
}

.menu ul li:hover ul li ul {
display: none;
}

.menu ul li:hover ul li a {
display: block;
background: #000; /* DD FO non-hover */
color: #7FFFD4; /* DD FO non-hover */
height: auto;
line-height: 20px; /* DD FO box height */
padding: 0px 0px;
width: 100px; /* DD FO box width */
}

.menu ul li:hover ul li a:hover {
background: #369; /* DD FO hover */
color: #fff; /* DD FO hover */
}

.menu ul li:hover ul li:hover ul {
display: block;
position: absolute;
left: 102px; /* FF FO right left */
top: -27px; /* FF FO up down */
width: 146px; /* FF FO box width */
}

/* */
/* Specific to IE browsers */
/* */

.menu ul li a:hover {
/* text-decoration: none; */ /* might be needed */
color: #fff; /* main hover */
background: #369; /* main hover */
}

.menu ul li a:hover ul {
display: block;
position: absolute;
top: 0px; /* DD container up down */
background: none; /* gets rid of DD container */
margin-top: 7px; /* DD container up down */
left: 0px; /* DD right left */
}

.menu ul li a:hover ul li a {
display: block;
background: #000; /* IE DD color non-hover */
color: #7FFFD4; /* IE DD color non-hover */
height: auto;
line-height: 20px; /* IE DD FO box height */
padding: 0px;
width: 145px; /* IE DD FO box */
}

.menu ul li a:hover ul li a ul {
visibility:hidden;
position:absolute;
height: 0;
width: 0;
}

.menu ul li a:hover ul li a:hover {
background: #369; /* DD FO hover */
color: #fff; /* DD FO hover */
}

.menu ul li a:hover ul li a:hover ul {
display: block;
position: absolute;
top: -22px; /* FO up down */
color: #000000; /* unknown */
left: 147px; /* FO right left */
}

/*ADD TO FIX IE*/
/* a hack so that IE5.5 faulty box model is corrected */

* html .menu a, * html .menu a:visited {
width: 125px;
w\idth: 139px;
}

/* another hack for IE5.5 */

* html .menu ul ul {
top: 30px;
t\op: 31px; /* IE gap between main bar and the dropdown items */
}

/* style the table so that it takes no part in
the layout - required for IE to work */
.menu table {
position:absolute;
top:auto 0; left:0;
}

/* yet another hack for IE5.5 */

* html .menu ul ul a {
width: 125px; /* unknown */
w\idth: 104px; /* DD FF width */
}

/*END EXTRA ADDS FOR IE*/

/* ADD TO HIDE EXTRA LEVELS */
/* make the 2nd level visible when
hover on 1st level list OR link */
.menu ul a:hover ul, /* IE */
.menu ul:hover ul { /* FF */
visibility:visible;
}

/* keep the 3rd level hidden when you
hover on 1st level list OR link */
.menu ul a:hover ul ul, /* IE */
.menu ul:hover ul ul { /* FF */
visibility:hidden;
}

/* keep the 4th level hidden when you
hover on 2nd level list OR link */
.menu ul li a:hover ul li a:hover ul ul, /* IE */
.menu ul li:hover ul li:hover ul ul { /* FF */
visibility:hidden;
}

/* make the 3rd level visible when you hover
over 2nd level list OR link */
.menu ul a:hover ul a:hover ul, /* IE */
.menu ul:hover ul:hover ul { /* FF */
visibility:visible;
}

/* make the 4th level visible when you
hover over 3rd level list OR link */
.menu ul li a:hover ul li a:hover ul li a:hover ul, /* IE */
.menu ul li:hover ul li:hover ul li:hover ul { /* FF */
visibility:visible;
}

/* ==== END NAVBAR CODE ==== */

NHDave
Feb-11-2008, 06:06 PM
Thanks Allen, that worked nice, I've been hooking
everything up...

One issue, my original navbar is still showing so I 've got
two navbars. How can I remove the top one and then get my
new bar to sit flush against the bottom of my banner?


Thanks again...

Allen
Feb-11-2008, 06:26 PM
Thanks Allen, that worked nice, I've been hooking
everything up...

One issue, my original navbar is still showing so I 've got
two navbars. How can I remove the top one and then get my
new bar to sit flush against the bottom of my banner?


Thanks again...
You can remove the navcontainer header html and CSS.

Some minor adjustments so it doesn't wrap to two lines and increase main
box width so Custom Graphicsn fits. This is set up for Firefox. Looking at IE6
now, be back with more tweaks.

/* Common Styling */
.menu {
position: relative;
display: block;
z-index: 99;
padding: 20px 0px 30px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container */
width: 760px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin: 0 auto;
}

.menu ul li a,
.menu ul li a:visited {
display: block;
font-size: 1em; /* main buttons */
color: #7FFFD4; /* main buttons text non-hover*/
text-decoration:none;
text-align: center; /* centers text in buttons */
width: 110px; /* main box width */
height: 20px; /* main box height */
/* border: 1px solid red; */ /* start your design with borders on, easier to position DD's & FO's */
/* border-width: 1px 1px 1px 1px; */
background: #000; /* main button color */
padding-left: 0px;
line-height: 20px; /* positions text up/down in box */
}

Allen
Feb-11-2008, 06:41 PM
..
Couple more tweaks.

.menu {
position: relative;
display: block;
z-index: 99;
padding: 20px 0px 30px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container */
width: 770px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin: 0 auto;
}

* html .menu ul li a, .menu ul li a:visited {
width: 110px; w\idth: 110px; /* IE main button */
}

.menu ul li:hover ul li a {
display: block;
background: #000; /* DD FO non-hover */
color: #7FFFD4; /* DD FO non-hover */
height: auto;
line-height: 20px; /* DD FO box height */
padding: 0px 0px;
width: 130px; /* DD FO box width */
}

NHDave
Feb-12-2008, 02:42 AM
Thank you again Allen, that worked great...


I have two more things I'd like to do. I'd like
to have my navbar buttons right up flush under my banner
and have my guestbook button drop down into guestbook
and links... I was trying to figure out how to cut and paste
the code from the other dropdown points but I couldn't get it
to work...

Thanks again you've been a fantastic help... Dave

Allen
Feb-12-2008, 07:05 AM
Thank you again Allen, that worked great...


I have two more things I'd like to do. I'd like
to have my navbar buttons right up flush under my banner
and have my guestbook button drop down into guestbook
and links... I was trying to figure out how to cut and paste
the code from the other dropdown points but I couldn't get it
to work...

Thanks again you've been a fantastic help... Dave Change the bottom of your html to this.

...
<li><a href="/gallery/4139856">Custom Graphics</a></li>
<li><a class="drop" href="#nopick">Guestbook &amp; Links
<!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="/gallery/4139462">Guestbook</a></li>
<li><a href="/gallery/xxxxxxx">Links</a></li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul> <!--[if lte IE 6]></td></tr></table></a><![endif]-->
</div>

A few CSS tweaks for Firefox. IE's might need additional tweaks.


.menu {
position: relative;
display: block;
z-index: 99;
padding: 0px 0px 30px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container */
width: 780px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin: 0 auto;
margin-top: -30px;
}

.menu ul li a,
.menu ul li a:visited {
display: block;
font-size: 1em; /* main buttons */
color: #7FFFD4; /* main buttons text non-hover*/
text-decoration:none;
text-align: center; /* centers text in buttons */
width: 130px; /* main box width */
height: 20px; /* main box height */
/* border: 1px solid red; */ /* start your design with borders on, easier to position DD's & FO's */
/* border-width: 1px 1px 1px 1px; */
background: #000; /* main button color */
padding-left: 0px;
line-height: 20px; /* positions text up/down in box */
}

.menu ul li:hover ul li a {
display: block;
background: #000; /* DD FO non-hover */
color: #7FFFD4; /* DD FO non-hover */
height: auto;
line-height: 20px; /* DD FO box height */
padding: 0px 0px;
width: 130px; /* DD FO box width */
}

NHDave
Mar-20-2008, 01:07 PM
Hi,

I have another question, I was able to get my nav buttons
reasonably spaced however they skew left depending on the browser
window. Is there any way to keep them stationary and centered under
the banner?


Thanks for the help. Dave

Allen
Mar-20-2008, 08:51 PM
Hi,

I have another question, I was able to get my nav buttons
reasonably spaced however they skew left depending on the browser
window. Is there any way to keep them stationary and centered under
the banner?


Thanks for the help. Dave
Remove the red and add the bold.

.menu {
position: relative;
display: block;
z-index: 99;
padding: 20px 0px 30px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container */
width: 780px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin-top: -35px;
margin: -35px auto 0; /* top right/left bottom */
}

NHDave
Mar-24-2008, 05:57 AM
worked beautifully, thanks... Let me also add that I love
the new "visitor view" option, it is very helpful.


I have a couple minor tweaks I'd like to do.

I created a gallery for a blogspot blog and connected it thru
the navbar. It's working however I'd like to know if there is any
way to get it to display full page? If that's not possible would there
be a way to at least minimize the custom header for this gallery?


lastly, any way to get the text in my links (in the guestbook
dropdown) and contact me galleries (Info dropdown) to have the
same bold for as the About Me, FAQ etc galleries?


Thanks, Dave

pamelamariephotography
Jun-19-2008, 08:14 AM
Remove the red and add the bold.

.menu {
position: relative;
display: block;
z-index: 99;
padding: 20px 0px 30px 0px; /* spacing around menu - top right bottom left */
height: 20px; /* menu container */
width: 780px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin-top: -35px;
margin: -35px auto 0; /* top right/left bottom */
}

impressed with this help!!! i actually want to do the same thing with dropdowns but i'm clueless with this code and have no idea how to customize it for my own outline. below is the outline i want for my page- can you help me figure out how to adjust the code to meet my own outline? thanks!!

HOME

the 411
my art
your wedding

the GALLERIES
weddings
people
personal projects

the PROOFING

CONTACT
guestbook
email me


pamelamarie.smugmug.com

pamelamariephotography
Jun-19-2008, 09:48 AM
ok i figured out how to do it!!!! sort of. :dunno

here's the problem... in Firefox, the spacing of the main menu changes if i select one of those options without picking a suboption. does that make sense? it's really confusing. :scratch

in IE, it doesn't work at all :help

not sure what i'm doing wrong. any suggestions??

pamelamarie.smugmug.com / www.pamelamarie.net

Allen
Jun-19-2008, 11:33 AM
ok i figured out how to do it!!!! sort of. :dunno

here's the problem... in Firefox, the spacing of the main menu changes if i select one of those options without picking a suboption. does that make sense? it's really confusing. :scratch

in IE, it doesn't work at all :help

not sure what i'm doing wrong. any suggestions??

pamelamarie.smugmug.com / www.pamelamarie.net (http://www.pamelamarie.net)
Are you seeing the other thread? Need to replace the nav html posted there
so all the menus work. Then can look at additional tweaking.
http://www.dgrin.com/showthread.php?t=47912&page=18

pamelamariephotography
Jul-06-2008, 07:46 AM
So for some reason, particularly when you type in pamelamarie.net without going directly to pamelamarie.smugmug.com, the PROOFS option in the menu shows up in a second row, under HOME? Why does this happen? How can I fix? Most of my visitors are coming to my site this way. Thanks for any suggestions!!!

Allen
Jul-06-2008, 07:59 AM
So for some reason, particularly when you type in pamelamarie.net without going directly to pamelamarie.smugmug.com, the PROOFS option in the menu shows up in a second row, under HOME? Why does this happen? How can I fix? Most of my visitors are coming to my site this way. Thanks for any suggestions!!!
It's wrapping to the next line, increase the width in this to fix it.


.menu {
position: absolute;
top: 16px;
_top: 10px;
right: 2px;
display: block;
z-index: 99;
padding: 0px 0px 5px 0px; /* spacing around menu - top right bottom left */
height: 15px; /* menu container */
width: 550px; /* width of menu - minimize this until doesn't wrap to two lines - too large effects centering */
margin: 0 auto;
}