|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Gallery Headers Once Again
I've spent hours trying to identify my error, but to no avail...so I need some help. With my growing gallery population I decided to organize on the basis of gallery categories, but I wanted a dedicated header/banner for each category page that houses galleries (the discrete galleries already have headers--did that successfully!). So I've been through Ivar's tutorial ten times...started anew, etc., and can't seem to get them to appear on the category pages. Here's what I have:
in the HTML box for header: <div id="my_banner"> </div> then in CSS box: #my_banner { display: none; width:800px margin: 0 auto } .homepage #my_banner { display: block; } .category_Archive_1870-1950 #my_banner { display: block; margin: 0 auto; background: url(http://aaronphotoarchive.smugmug.com...17_8oRY3-L.jpg) no-repeat; height: 70px } .category_Archive_1950-1970s #my_banner { display: block; margin: 0 auto; background: url(http://aaronphotoarchive.smugmug.com...42_VzeXR-L.jpg) no-repeat; height: 70px } .category_Event_&_Friends #my_banner { display: block; margin: 0 auto; background: url(http://aaronphotoarchive.smugmug.com...55_rkmaP-L.jpg) no-repeat; height: 70px } Thanks very much for catching whatever I've messed up here. David aaronphotoarchive.com |
|
|
|
|
#2
|
||
|
"tweak 'til it squeaks"
|
Quote:
.category_Archives_1870-1950 #my_banner { display: block; margin: 0 auto; background: url(http://aaronphotoarchive.smugmug.com/photos/387974517_8oRY3-L.jpg) no-repeat; height: 70px }
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#3
|
||
|
Big grins
|
Quote:
David aaronphotoarchive.com |
|
|
|
||
|
#4
|
||
|
"tweak 'til it squeaks"
|
Quote:
.category.category_Archives_1870-1950 #my_banner {... Might need this also /* all sub-cat pages under category */ .category.category_Archives_1870-1950.subcategory #my_banner {display: none;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#5
|
||
|
Big grins
|
not working...alas
Quote:
Any other recommendations? thank you. David aaronphotoarchive.com |
|
|
|
||
|
#6
|
||
|
"tweak 'til it squeaks"
|
Quote:
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#7
|
||
|
"tweak 'til it squeaks"
|
Quote:
.category_Archives_1950-1970s #my_banner { display:block; margin-left:258px; background: url(http://aaronphotoarchive.smugmug.com...42_VzeXR-L.jpg) no-repeat; height: 70px } .category_Archives_1950-1970s.galleryPage #my_banner { display:none; }
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#8
|
||
|
Big grins
|
Quote:
But then something even more bizarre took place. I wanted to see some code I did on my other smugmug website--dhaimages.com---and when I got there, the main page header from my aaronphotoarchive website was on top of my dhaimages.com website. Now I'm not sure how that is even possible since that header is only housed on the former webpage, and there is no code on the dhaimages site that could possibly cause it to be accessed. So I did a complete "wash" of my browser history and cache to make sure it wasn't some anomaly on my end, but even then...my next visit had the same thing. I'm all ears. Perhaps I've embedded something that is messing everything up. If we can't rectify it easily, I'm going to just drop all of the code that sets up the category pages. But binaries aren't supposed to be so finicky--so they tell me--either it should work or it shouldn't work. thank you. David aaronphotarchive.com dhaimages.com |
|
|
|
||
|
#9
|
||
|
"tweak 'til it squeaks"
|
Quote:
the same browser app. Have to use different browsers, like Firefox and IE. Make sure you save all the customize boxes for each site in text files.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#10
|
||
|
Big grins
|
Quote:
Still working on the other stuff. David |
|
|
|
||
|
#11
|
||
|
"tweak 'til it squeaks"
|
Quote:
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#12
|
||
|
Big grins
|
Quote:
As for the aaronphotoarchive.com, I was unable to get the category banner to disappear in the actual galleries with the 2 sets of recommendations you made. Not sure why since I couldn't have made a mistake in the code (I copied and pasted). But other "funny things" happened. I couldn't get a category banner to appear, so I "cut" the code and put it down three categories below...and suddenly it appeared. Exact same code, just different locus. What's that about? (Rhetorical question.) In the meantime, my compromise solution is that I made the category banner and the gallery header both very small (30px and 40px in height respectively) so that it actually works fine. I haven't changed them all over to the new headers/banners, but I will tomorrow. Thanks for your assistance and patience. David aaronphotoarchive.com dhaimages.com |
|
|
|
||
|
#13
|
||
|
"tweak 'til it squeaks"
|
Quote:
Only thing left on the gallery pages is your header. Are you wanting something else? Code:
.category_Archives_1870-1950 #my_banner {
display:block;
margin-left:258px;
background: url(http://aaronphotoarchive.smugmug.com/photos/388446264_3s3PT-XL.jpg) no-repeat;
height: 30px
}
.category_Archives_1870-1950.galleryPage #my_banner {
display:none;}
.category_Archives_1950-1970s #my_banner {
display:block;
margin-left:258px;
background: url(http://aaronphotoarchive.smugmug.com/photos/388446334_ZTFf7-XL.jpg) no-repeat;
height: 30px
}
.category_Archives_1950-1970s.galleryPage #my_banner {
display:none;}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#14
|
||
|
Big grins
|
Quote:
David |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|