PDA

View Full Version : Nav Bar Suppression and background in custom themes


rothschilddesign
Jan-02-2008, 08:42 AM
Hi,

I know how to make the navbar small in my main theme (through the customization panel of the control panel), but for some of my galleries, I am using a different look.

I made a custom theme called family album 2 by copying the CSS from a gallery with the "old family album" theme. Then, I tried to edit it to change some things, but I am having some problems:

1) How do I suppress (or at least, minimize) the footer. I understand that it at least needs to have the smugmug copyright notice, which is fine. I also know that for my main customization page, I can change the footer. But I don't see how to do this in my customized theme (the theme editing page doesn't have this as an option, so I suppose that I need to do it by editing the CSS).

2) "The Old Family Album" theme has a canvass type textured background, but my custom theme (family album 2) just has a black background (no matter whether I set my "base color" to black or white. How do I keep the background on my custom theme?

Here is the gallery: http://www.smugmug.com/gallery/4089082


Thanks!

Mike

Andy
Jan-02-2008, 07:40 PM
1) How do I suppress (or at least, minimize) the footer. I understand that it at least needs to have the smugmug copyright notice, which is fine. I also know that for my main customization page, I can change the footer. But I don't see how to do this in my customized theme (the theme editing page doesn't have this as an option, so I suppose that I need to do it by editing the CSS).
http://www.smugmug.com/help/customize-faq.mg

See the #16 :)


2) "The Old Family Album" theme has a canvass type textured background, but my custom theme (family album 2) just has a black background (no matter whether I set my "base color" to black or white. How do I keep the background on my custom theme?

Here is the gallery: http://www.smugmug.com/gallery/4089082


Thanks!

MikeMake a new custom theme with just the old family album theme in it, not all the extra stuff you have in there. Then let's see what's what....

rothschilddesign
Jan-02-2008, 08:48 PM
http://www.smugmug.com/help/customize-faq.mg (http://www.smugmug.com/help/customize-faq.mg)



See the #16 :) (http://www.smugmug.com/help/customize-faq.mg)


OK, but there is no Footer box in the theme customization page:

http://rothschilddesign.smugmug.com/homepage/themes.mg

The only thing there is a CSS box, and putting the suggested CSS in there doesn't seem to do anything to my page with the custom theme. Also, there is no place to put javascript, as suggested in #16.

That advice seems to be for customizing the main theme, which I have done to my satisfaction: http://rothschilddesign.smugmug.com

What I want to do is customize my custom themes that I use on some gallaries, such as this one: http://www.smugmug.com/gallery/4089082



Make a new custom theme with just the old family album theme in it, not all the extra stuff you have in there. Then let's see what's what....

I guess I'm confused here as to terminology... when I customize the page through the control panel, I'm clicking on the "customize" link on the "customize" pane of the control panel. When I'm trying to make new themes to use in a few gallaries, based on existing themes, I'm clicking on the "themes" link on the "customize" pane of the control panel... so there is no extra stuff in the CSS for the "family album 2" theme that I created, the CSS is just the CSS from the "old family album" theme supplied with smugmug, with the display attribute of the smugmug logo set to "none"...

Andy
Jan-02-2008, 08:55 PM
Stay tuned, I called in the cavalry :)

Allen
Jan-02-2008, 09:16 PM
...
1) How do I suppress (or at least, minimize) the footer. I understand that it at least needs to have the smugmug copyright notice, which is fine. I also know that for my main customization page, I can change the footer. But I don't see how to do this in my customized theme (the theme editing page doesn't have this as an option, so I suppose that I need to do it by editing the CSS).
..
A little bit a time. Looks like you have hide owner checked for the gallery because the address shows this.
http://www.smugmug.com/gallery/4089082#238324582 and not your nickname. That's why your CSS is not active.

This is in each gallery.
Go under the "gallery tools" dropdown > "customize gallery" and under
appearance check "custom" instead of "Smugmug" and see if that fixes it.
Also check that "hide owner" is not checked.

Allen
Jan-02-2008, 09:20 PM
...
OK, but there is no Footer box in the theme customization page:
...
You have the mini-footer active on your homepage so it should be on all
pages that your customization is active. "Hide owner" checked will show the
full footer so after unchecking that the min-footer should be back.

rothschilddesign
Jan-02-2008, 09:36 PM
A little bit a time. Looks like you have hide owner checked for the gallery because the address shows this.
http://www.smugmug (http://www.smugmug).com/gallery/4089082#238324582 and not your nickname. That's why your CSS is not active.

This is in each gallery.
Go under the "gallery tools" dropdown > "customize gallery" and under
appearance check "custom" instead of "Smugmug" and see if that fixes it.
Also check that "hide owner" is not checked.

Wow, again, thanks for the quick replies...!

However, I'm still not sure that we are on the same page.

I just did that, and now I'm getting the customized header and footer that is on my main page at rothschilddesign.smugmug.com:

http://rothschilddesign.smugmug.com/gallery/4089082

I am trying to have galleries that are just family albums, without that "rothschilddesign" header (or the breadcrumbs). That is why I had chosen "hide owner"...

When I choose "hide owner" it looks beter... although the "old family album" background texture isn't there, and I can't minimize the footer navigation links...

Thanks!

Mike

Allen
Jan-02-2008, 09:47 PM
Wow, again, thanks for the quick replies...!

However, I'm still not sure that we are on the same page.

I just did that, and now I'm getting the customized header and footer that is on my main page at rothschilddesign.smugmug.com:

http://rothschilddesign.smugmug.com/gallery/4089082

I am trying to have galleries that are just family albums, without that "rothschilddesign" header (or the breadcrumbs). That is why I had chosen "hide owner"...

When I choose "hide owner" it looks beter... although the "old family album" background texture isn't there, and I can't minimize the footer navigation links...

Thanks!

Mike
Everything you don't want on the gallery page can be turned off with CSS.
So uncheck hide owner and check custom and we'll get the page looking the
way you want.

As an example in CSS to hide banner and breadcrumb in gallery. And also
show when you're logged in so your can navigate.

.gallery_4089082 #my_banner {display: none;}
.gallery_4089082 #breadcrumb {visibility: hidden;}

.gallery_4089082 .loggedIn #breadcrumb,
.gallery_4089082 #altViews,
.gallery_4089082 #shareLink {visibility: visible;}

rothschilddesign
Jan-03-2008, 07:08 AM
Everything you don't want on the gallery page can be turned off with CSS.
So uncheck hide owner and check custom and we'll get the page looking the
way you want.

As an example in CSS to hide banner and breadcrumb in gallery. And also
show when you're logged in so your can navigate.

.gallery_4089082 #my_banner {display: none;}
.gallery_4089082 #breadcrumb {visibility: hidden;}

.gallery_4089082 .loggedIn #breadcrumb,
.gallery_4089082 #altViews,
.gallery_4089082 #shareLink {visibility: visible;}

OK, we're getting there... thanks again for the great tech support.

I figured out how make this general for any gallery that uses this custom theme (by deleting the ".gallery_4089082", right?).

I also figured out how to suppress the navigation buttons on the top that appear on my home page (by using
#navcontainer {visibility: hidden;}, right?)

Can you tell me how to put the rounded corners at the top back (like in the "Old Family Album" smugmug theme), and how to put the background texture back in...?

Thanks!!

Mike

rothschilddesign
Jan-03-2008, 03:27 PM
Everything you don't want on the gallery page can be turned off with CSS.
OK, I made some progress, figured out how to put the background back in (custom theme "family album 5"), but I'm really stuck on the top border. By looking at the CSS for the original "The Old Family Album" theme on which my theme is based, I see the image that makes the top of the header with th rounded corners:

http://cdn.smugmug.com/img/themes/OldFamilyAlbum/headerSmall.png

but I don't see how to make that visible. I've added attributes
to the CSS for the header ID of the homepage class and the header
ID:

visibility: visible;

display: inline;

Right now it looks like this:

http://rothschilddesign.smugmug.com/gallery/4089082