PDA

View Full Version : Banner Problems on galleries


ConductorO
Jul-19-2008, 07:07 PM
I been trying to setup a second banner that would only show up on a specific gallery without any success.

I was able to get the banner for the home page to show on all galleries. I followed the tutorial and tried all the coding but without success.

I am using PNG files for the banner. IE fix worked fine for the first banner but did not have any effect on the second.

Does anyone have any suggestions?

ConductorO

Allen
Jul-19-2008, 08:53 PM
I been trying to setup a second banner that would only show up on a specific gallery without any success.

I was able to get the banner for the home page to show on all galleries. I followed the tutorial and tried all the coding but without success.

I am using PNG files for the banner. IE fix worked fine for the first banner but did not have any effect on the second.

Does anyone have any suggestions?

ConductorO
Change this
For the category page and all galleries under it use the category name.

.category_Trains #my_banner {....

For only one galley use this with the gallery number.

.gallery_XXXXXX #my_banner {....



Is this a category name? B&ORRM

.category_B&ORRM #my_banner {...

Try this, it don't like the &, but the black text doesn't show on the black background.

.category_BORRM #my_banner {...



In your CSS your are missing a ' in the src= filter
part on both these.

#my_banner {
width: 750px;
height: 140px;
margin: 0 auto;
background: url(/photos/334571261_gha8T-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,
src='/photos/334571261_gha8T-O.png');
}

.category_BORRM#my_banner {
width: 750px;
height: 140px;
margin: 0 auto;
background: url(/photos/334560702_mKkND-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,
src='/photos/334560702_mKkND-O.png');
}

ConductorO
Jul-19-2008, 11:25 PM
Allen,

THANKS VERY MUCH!!

The change worked for the most part. I must still have something missing to get the banner show up on the Trains category.

I did not have much luck with the Gallery number. Used the help page to Try and identify the gallery number, but it was not much help. I did try by name, but had no luck.

I have changed the theme color on the B&ORRM category, THANKS!!!

#my_banner {
width: 750px;
height: 140px;
margin: 0 auto;
background: url(http://OGSPhotography.smugmug.com/photos/334571261_gha8T-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,src='http://OGSPhotography.smugmug.com/photos/334571261_gha8T-O.png');
display: none;
}

.homepage #my_banner {
display: block;
}

.gallery_Rail_Travels #my_banner {
display: block;
}

.category_BORRM #my_banner {
width: 750px;
height: 140px;
margin: 0 auto;
background: url(http://OGSPhotography.smugmug.com/photos/334560702_mKkND-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,src='http://OGSPhotography.smugmug.com/photos/334560702_mKkND-O.png');
display: block;
}


THANKS VERY MUCH FOR YOUR HELP!!!!!!!
Owen :bow




Change this
For the category page and all galleries under it use the category name.

.category_Trains #my_banner {....

For only one galley use this with the gallery number.

.gallery_XXXXXX #my_banner {....



Is this a category name? B&ORRM

.category_B&ORRM #my_banner {...

Try this, it don't like the &, but the black text doesn't show on the black background.

.category_BORRM #my_banner {...



In your CSS your are missing a ' in the src= filter
part on both these.

#my_banner {
width: 750px;
height: 140px;
margin: 0 auto;
background: url(/photos/334571261_gha8T-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,
src='/photos/334571261_gha8T-O.png');
}

.category_BORRM#my_banner {
width: 750px;
height: 140px;
margin: 0 auto;
background: url(/photos/334560702_mKkND-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,
src='/photos/334560702_mKkND-O.png');
}

Allen
Jul-20-2008, 09:03 PM
Allen,

THANKS VERY MUCH!!

The change worked for the most part. I must still have something missing to get the banner show up on the Trains category.


I did not have much luck with the Gallery number. Used the help page to Try and identify the gallery number, but it was not much help. I did try by name, but had no luck.

I have changed the theme color on the B&ORRM category, THANKS!!!
...
.gallery_Rail_Travels #my_banner {
display: block;
}

...
It is a gallery so use this CSS with the gallery number.

.gallery_5339522 #my_banner {
display: block;
}

ConductorO
Jul-21-2008, 08:55 PM
Allen,

The fix below worked great!!!

THANKS for your help!!!!

Owen :bow

It is a gallery so use this CSS with the gallery number.

.gallery_5339522 #my_banner {
display: block;
}