Different Logos on Different Pages
vividvisuals
Registered Users Posts: 30 Big grins
Hey guys,
I'm wanting separate logos on different pages of my site. Basically, I am creating sub-brands for corporate headshots and portraits...so I'd like my homepage to have my normal logo and for the sub pages for headshots and portraits respectively to have their own logos.
So it would be like "Bangkok Headshot | Alexander Stephan Photography" but only viewable at www.alexanderstephanphotography.com/headshots
The plan is to have www.bangkokheadshots.com point to this page.
Is this possible? If so, how can I do it?
Thanks for your expertise as always!
-Alex
0
Comments
website is www.alexanderstephanphotography.com
Yes it's possible. You will hide/show your logos on the specific pages using CSS. Can't help until the pages are visible.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Hey Mike, here are the pages in question:
https://www.alexanderstephanphotography.com/BangkokHeadshots
https://www.alexanderstephanphotography.com/BangkokPortraits
Thanks as always for your help
I have a bunch of different logos/headers but I added it to the page header. Then just assigned a different background for each.
A blank html box in header.
My Website index | My Blog
Never thought about that.
@vividvisuals - Allen's idea is much easier. All you need to do is put a blank HTML/CSS Block where you want your logos to be. All you need to do is locate the
.sm-page-widget
number for the blank HTML/CSS Block (https://gallery.imagesinthebackcountry.com/Smugmug-customization/Locating-Your-SmugMugs-Node-or-Widget-Number ) and substitute the.sm-page-widget-xxxxxxxx
to yours. Change thelogo-here
for your logos. Then add this to your Theme's Custom CSS Section (https://gallery.imagesinthebackcountry.com/Smugmug-customization/Adding-CSS-to-your-SmugMug-Website ) :Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Here's a part of my CSS covering site wide and one of the trees.
"parentmode" is for flow down and "node" is for single top folder page.
Flow down does not cover starting point like top folder.
BTW, i entered size as I have a few different size headers
Order is important as all override ones above.
You can flow down from any folder even within a flow down.
Edit: added last CSS rule that shows one header image used on many different parts of my site.
Now if I could figure out what page this is on. Didn't label in CSS, oops.
.sm-page-node-ZKwCt
My Website index | My Blog
Thank everyone for your input.
@Mike, the links to instructions don't work unfortunately.
So, in a nutshell just for the headshots section for the sake of clarity:
1. I add a blank HTML/CSS section at the top of the page
2. I add the following for the theme CSS not for the webpage itself (is that right?):
/* Logo for Headshots /
.sm-page-node-hqdXzW .sm-page-widget-xxxxxxxx {
background: url('logo-here') no-repeat;
height: 72px; / Change the logo height to match */
}
Then if I decide to add others (you already found the .sm-page-widget for Headshots and Portraits?) I would need to follow instructions on the link you provided.
Is that right?
Thanks again,
-Alex
Yes, I already added your headshots and portrait page nodes. Yes, you can add more just follow the example.
I fixed the links.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Hey guys, thanks again for your advice.
So in the end I think an easier solution and one that probably works a bit better is to simply add the logo above the header text. Unfortunately, every time I put the logo above the text, it ends up going off center. I can only have it centered when the logo is below the text.
Any easy fix here?
Thanks,
-Alex lex
You don't need all of that "hero" CSS. Your HTML is this:
Change it to this:
Remove the
.hero
CSS and use this only.Change your current
h1
to this:If you want the logo above your text use this:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Works like a charm. Thank you so much, Mike!
-Alex