hallo,
what do you suggest for my site : http://labrophotography.smugmug.com/
btw I have one drop down menu under Info whose rollover color seems ok
which code do i finally copy and where to copy it ?
why doesn't smugmug suggests these settings in the customize. It would avoid all these dgrin discussions
there is definitely a lack in menu settings and header settings. for instance my header is too big, poorly centered ugly while the following is really nice : http://portfolio.scottkelby.com/
Instead of the pipes, Does anyone know how to add a bullet separator?
Like on my legacy site www.Co-Bear.com
This isn't completely awesome but it works on my site and might be reliable enough:
.sm-page-widget-nav-toplink {
font-family: courier new;
font-size:1.2em;
font-weight:bold;
padding: 0 0 0 15px; /* this controls the spacing to the left of each link */
margin:0px !important;
}
.sm-page-widget-nav-toplink:after {
content: "•"; /* this is the bullet, could be any character */
}
.sm-page-widget-nav-toplink:last-child:after {
content: ""; /* this takes the bullet away from the last item in the list */
}
.sm-page-widget-nav-toplink a {
margin-right:15px; /* this controls the spacing to the right of each link, before the bullet */
}
This isn't completely awesome but it works on my site and might be reliable enough:
.sm-page-widget-nav-toplink {
font-family: courier new;
font-size:1.2em;
font-weight:bold;
padding: 0 0 0 15px; /* this controls the spacing to the left of each link */
margin:0px !important;
}
.sm-page-widget-nav-toplink:after {
content: "•"; /* this is the bullet, could be any character */
}
.sm-page-widget-nav-toplink:last-child:after {
content: ""; /* this takes the bullet away from the last item in the list */
}
.sm-page-widget-nav-toplink a {
margin-right:15px; /* this controls the spacing to the right of each link, before the bullet */
}
Thanks for sharing. At first I thought it was going to work but for some reason the bullets keep randomly dropping down below the nav bar. It's really weird because one second they'll be in line perfect and then poof… they drop down
Which one of these posts would I use to highlight my navbar in the new Smugmug? I simply used the website navbar to create mine...nothing fancy. But want the navbar to highlight when the cursor is place over or when galleries are changed.
Thanks for sharing. At first I thought it was going to work but for some reason the bullets keep randomly dropping down below the nav bar. It's really weird because one second they'll be in line perfect and then poof… they drop down
This is most likely due to that item having a submenu. You might try adding some additional CSS to position the bullet, something like:
I would like separators between each word on my navbar any suggestions?
Separators wanted are: | the veritcal lines
FYI, there are now two dedicated toggles in the menu options to turn on/off separators for both the top- and sub-level items in a horizontal/vertical navbar. Note that for your fancier bullets and things of that nature, you'll still need custom CSS.
-Mike
SmugMug Sorcerer
(and an avid landscape photographer - view my website)
Need CSS to change drop down font
In Smugmug's theme settings I choose fonts 'Engagement' & 'Droid Seref' but by default smugmugs idea of where each should be used doesn't match so… I'm using the following code to specify 'Engagement' for the navbar
/****** BEGIN NAV BAR FORMATTING ******/
.sm-page-widget-nav-toplink {
font-family: Engagement;
font-size:1.8em;
}
.sm-page-widget-nav-toplink a :hover,
.sm-page-widget-nav-toplink a:hover {
color: #b21131!important;
}
/****** END NAV BAR FORMATTING ******/
Resulting in this unveiled site navbar:
But… As you can see it also changes the navs drop down font & size… I'd prefer font Engagement used only in the top level & Droid Sans in the drop down. Anyone???
But… As you can see it also changes the navs drop down font & size… I'd prefer font Engagement used only in the top level & Droid Sans in the drop down. Anyone???
You should be able to target the submenus separately using something like:
.sm-page-widget-nav .yui3-menu {
/* font rules here */
}
-Mike
SmugMug Sorcerer
(and an avid landscape photographer - view my website)
Thank You Mike. That worked to change the font itself but I can't change the font size. I've tried both em & px but it doesn't effect it. Weird…
Here's my code:
/********** BEGIN NAV BAR FORMATTING **********/
.sm-page-widget-nav-toplink {
font-family: Engagement;
font-size: 1.8em;
}
.sm-page-widget-nav-toplink a :hover,
.sm-page-widget-nav-toplink a:hover {
color: #b21131!important;
}
/*** DROP NAV RULES HERE ***/
.sm-page-widget-nav .yui3-menu {
font-family: Droid Serif;
font-size: 12px;
}
/********** END NAV BAR FORMATTING **********/
Thank You Mike. That worked to change the font itself but I can't change the font size. I've tried both em & px but it doesn't effect it. Weird…
Here's my code:
/********** BEGIN NAV BAR FORMATTING **********/
.sm-page-widget-nav-toplink {
font-family: Engagement;
font-size: 1.8em;
}
.sm-page-widget-nav-toplink a :hover,
.sm-page-widget-nav-toplink a:hover {
color: #b21131!important;
}
/*** DROP NAV RULES HERE ***/
.sm-page-widget-nav .yui3-menu {
font-family: Droid Serif;
font-size: 12px;
}
/********** END NAV BAR FORMATTING **********/
Try
font-size: 12pt !important;
Might need the !important also.
It's usually best to use point sizes rather then pixel size.
or percentages
font-size: 110% !important;
Ahh sweet! That worked Mike
I did still have to use the 'Important' as Allen suggested but it worked
Which brings me to another ?… I read somewhere that it wasn't advised to use the important tag any longer… So will using it cause problems???
!important Tag… Here's wehere I read NOT to use it… http://www.smugocity.com/FAQ/Important but I tried changing to there suggested option & it doesn't work so… !important tag it is!
!important Tag… Here's wehere I read NOT to use it… http://www.smugocity.com/FAQ/Important but I tried changing to there suggested option & it doesn't work so… !important tag it is!
Yeah, it's a good rule of thumb in general to try to avoid using !important, so you can probably make the selector more specific and not have to use it. I think this should work:
Yeah, it's a good rule of thumb in general to try to avoid using !important, so you can probably make the selector more specific and not have to use it. I think this should work:
Comments
what do you suggest for my site :
http://labrophotography.smugmug.com/
btw I have one drop down menu under Info whose rollover color seems ok
which code do i finally copy and where to copy it ?
why doesn't smugmug suggests these settings in the customize. It would avoid all these dgrin discussions
there is definitely a lack in menu settings and header settings. for instance my header is too big, poorly centered ugly while the following is really nice :
http://portfolio.scottkelby.com/
best regards
marc
Instead of the pipes, Does anyone know how to add a bullet separator?
Like on my legacy site www.Co-Bear.com
This isn't completely awesome but it works on my site and might be reliable enough:
Thanks for sharing. At first I thought it was going to work but for some reason the bullets keep randomly dropping down below the nav bar. It's really weird because one second they'll be in line perfect and then poof… they drop down
This is most likely due to that item having a submenu. You might try adding some additional CSS to position the bullet, something like:
-Mike
(and an avid landscape photographer - view my website)
FYI, there are now two dedicated toggles in the menu options to turn on/off separators for both the top- and sub-level items in a horizontal/vertical navbar. Note that for your fancier bullets and things of that nature, you'll still need custom CSS.
-Mike
(and an avid landscape photographer - view my website)
In Smugmug's theme settings I choose fonts 'Engagement' & 'Droid Seref' but by default smugmugs idea of where each should be used doesn't match so… I'm using the following code to specify 'Engagement' for the navbar
Resulting in this unveiled site navbar:
But… As you can see it also changes the navs drop down font & size… I'd prefer font Engagement used only in the top level & Droid Sans in the drop down. Anyone???
You should be able to target the submenus separately using something like:
-Mike
(and an avid landscape photographer - view my website)
Here's my code:
font-size: 12pt !important;
Might need the !important also.
It's usually best to use point sizes rather then pixel size.
or percentages
font-size: 110% !important;
My Website index | My Blog
That's not working either but thank you. Once I unveil the site I'll come back for clearing up things like this that way you'll can see it as well.
Ah. You probably need to use ".sm-page-widget-nav .yui3-menu .yui3-menu-item" as your selector instead.
-Mike
(and an avid landscape photographer - view my website)
I did still have to use the 'Important' as Allen suggested but it worked
Which brings me to another ?… I read somewhere that it wasn't advised to use the important tag any longer… So will using it cause problems???
Yeah, it's a good rule of thumb in general to try to avoid using !important, so you can probably make the selector more specific and not have to use it. I think this should work:
If that doesn't work, I wouldn't worry too much about using !important in this particular case.
-Mike
(and an avid landscape photographer - view my website)
if the same rule dont exist then !importent is not needed
/ɯoɔ˙ƃnɯƃnɯs˙ʇlɟsɐq//:dʇʇɥ
Mike your indeed a gem!!! Works perfectly & yes without 'Important'! Thank You!!!
Play around with this... It's what I used...