|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Different menu for each Gallery.
A while back you folks helped me get my smugmug page dialed in...thank you!! You guys rock!
I am growing now...and I have a special blog that is separate from my main site. As not to confuse customers, I would like to have my blog point to a gallery (got that working) but, I would like that gallery to have a menu designed like my blog. My blog and my main site share the same basic template. Logo difference, and menu items difference. Is it possible to have two different menus for two different galleries on one account? If so, can someone briefly point me in the right direction to do the customization? Here is my main site... http://adwheelerphotography.com If you click the galleries menu, it will bring you to my current menu on smugmug. Here is my blog site... http://TheArtOfDecay.com Here you can see the subtle differences. Please let me know if this makes sense to you. |
|
|
|
|
#2
|
|
|
Smug Hero
|
Yes you can have two different menu bars. So you have right now that <div class="menu"> for your nav.
You would then create a menu2 or menuB or something like that. There you would create the second nav bar including adding the css for #menu2 and all the html in the Custom Header box for <div class="menu2">. Then in your CSS you would add a rule to show and hide them in the proper locations. Say you wanted the original menu to show everywhere but in your wildlife non-limited gallery. In that gallery you want the menu2 to show. So the CSS would look like this: /* hides the original menu in that gallery */ .gallery_22447814 .menu { display: none; } /* hides the second menu on all other pages */ .menu2 { display: none; } /* shows the second menu for that single gallery */ .gallery_22447814 .menu2 { display: block; } Make sense? |
|
|
|
|
#3
|
|
|
Big grins
|
Yes Eric, it does actually. I will get to coding and code copying and see if I can get it to go....stay tuned and thanks once again!
|
|
|
|
|
#4
|
|
|
Big grins
|
Eric, I have most of the code done except the CSS rules...
How do I get the MENU2 on just this page: http://adwheeler.smugmug.com/TheArtofDecay And of course the subcats under that? I don't see a # and have no idea what code to use for the rule. |
|
|
|
|
#5
|
|
|
Big grins
|
Okay, I think what I need is a different menu for two categories.....
|
|
|
|
|
#6
|
|
|
"tweak 'til it squeaks"
|
Because your menus are so similar and can use one set of CSS (.menu) I'd use classes to display the differences.
<li class="menu1"><a href="http://limited.adwheelerphotography.com" title="">Limited Prints</a></li> <li class="menu2"><a href="http://limited.adwheelerphotography.com" title="">Other Limited Prints</a></li> Use CSS to define what class shows on pages or categories. .menu1 would be the default everywhere. .menu2 {display:none;} .gallery_12345678 .menu2 {display:block;} .gallery_12345678 .menu1 {display:none;} .category_Nature .menu2 {display:block;} .category_Nature .menu1 {display:none;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
|
#7
|
|
|
Big grins
|
Thanks... I think I have it..
|
|
|
|
|
#8
|
|
|
Big grins
|
And I need a new logo for each page. Is that .logo?
|
|
|
|
|
#9
|
|
|
"tweak 'til it squeaks"
|
This is what ECZ created hidden in your CSS
Code:
#customLogo { background-color: transparent; background-image: url(http://adwheeler.smugmug.com/photos/i-pzst2Tp/0/O/i-pzst2Tp.png); background-repeat: no-repeat; background-position: top center; }
Code:
.gallery_1234566 #customLogo { background-color: transparent; background-image: url(http://adwheeler.smugmug.com/photos/i-pzst2Tp/0/O/i-pzst2Tp.png); background-repeat: no-repeat; background-position: top center; }
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
|
#10
|
|
|
Big grins
|
Nice Allen, I will give it a shot. Are you using inspect element in Firefox to grab this info?
|
|
|
|
|
#11
|
|
|
Big grins
|
Okay....got it all...and it is working.. one last request....how can I also get different backgrounds that do not scroll per gallery. I have searched the code but I have no idea what tags do what... sorry.. I am learning from everything you are helping me with though.
|
|
|
|
|
#12
|
||
|
"tweak 'til it squeaks"
|
Quote:
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#13
|
|
|
Big grins
|
Sorry.. A different background photo for each category... (I only have 2)
And I would like the background to be fixed and not scroll with the page... |
|
|
|
|
#14
|
|
|
Smug Hero
|
You can set the background with a line like this for each category in your CSS. With the category name in the first line and a link to the image in the code:
.category_XXXXXX body { background-image: url("/photos/XXXXXX_YYYYY-O.jpg"); } |
|
|
|
|
#15
|
|
|
Big grins
|
Thanks Eric!
|
|
|
|
|
#16
|
|
|
Big grins
|
premature celebration....not working..
|
|
|
|
|
#17
|
|
|
Big grins
|
Any ideas why? http://adwheeler.smugmug.com/galleries
|
|
|
|
|
#18
|
||
|
"tweak 'til it squeaks"
|
Quote:
body.category_Non-Limited_Prints {background-image: url("/photos/i-GHCxM58/0/X3/DSC09011And13more-Edit-Edit-X3.jpg");}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
| Tell The World! | |
| Tags | |
| designs , gallery , menu , multiple | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| drop down nav bar | Cujo | SmugMug Customization | 1 | Feb-04-2010 11:03 PM | |
| Nav-Bar help | blackburnian227 | SmugMug Customization | 16 | Feb-02-2010 12:03 PM | |
| Remove gallery style pulldown menu | Dancing monk | SmugMug Customization | 2 | May-07-2009 06:52 AM | |
| Is it possible to have galleries AND categories on the home page? | jfriend | SmugMug Customization | 3 | Jun-27-2008 05:43 AM | |
| Semi-automated gallery menu with thumbs | technocraft | SmugMug APIs, Hacks & Tricks | 0 | Feb-11-2008 07:03 AM | |
| Thread Tools | |
| Display Modes | |
|
|