Different LOGO
rammy25
Registered Users Posts: 9 Big grins
Can I have one logo for my desktop site and one for my mobile site, or how can I make my header smaller on mobile site? Thank you!
0
Comments
I would use a HTML/CSS Block. In the HTML you would do something like this:
And CSS here:
Use the Share Link to get your two logo URL and change "your-home-page-url-here" to your home page.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I add this to entire site:
<div class="my-logo">
<a href="http://mark-christian.smugmug.com">
<img src="http://mark-christian.smugmug.com/Sample-Homepage-Slideshow/n-SbMPsJ/i-XXG25NB/A" class="desktop" />
<img src="http://mark-christian.smugmug.com/Sample-Homepage-Slideshow/n-SbMPsJ/i-r5tV9b4/A" class="mobile" />
</a>
</div>.
css
.mobile {display: none;}
@media (max-width: 736px) {
.mobile {display: block;}
.desktop {display: none;}
}
and you can see the results
You didn't use the "Share" feature:
Then copy the "Photo Only", not the Photo Link.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
No problem. I'll need to see it now.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I didn't understood your answer, sorry to bother you but I search the web and can't find someting to work for me. My website look something like this ( Mc is the new logo and is in the centre of the screen) up-left Pic and menu is from smugmug theme(entire site), I want on mobile, to see a smaller header( also the white overlay) on the entire site even if it is the same as the smugmug theme.
Screen shots are not helpful unfortunately. I have to see it live in order for me to help you.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Yes, I dissabled the password for my site. homepage is : https://mark-christian.smugmug.com. or do you mean something else ?
I guess I don't understand what you're trying to do.
What logo do you want on desktop?
What logo do you want on mobile?
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
With my desktop I'm ok, on mobile is my problem
Okay, that what I thought, but I didn't want to spend an hour figuring out something to find out you wanted something else. I work on it and get back to you later this evening (it's 9pm here).
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Ok, thank you very much ( 7 am here ).
It will probably need some fine adjustment. You need to replace your current Logo Block with a HTML/CSS block.
HTML
CSS
Your mobile logo has a lot of extra space around it and you should probably trim it to just the logo.
You can remove the first HTML/CSS you used earlier.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thank you a lot, without you I never figure it out
One small question: "Can I make the white overlay even smaller on mobile ( I crop my logo to 80x80) ?
There is a
12px
top/bottom padding for mobiles, so add this to your CSS to get rid of it:.sm-user-ui .sm-page-widget-28158039 .sm-page-widget-content {padding: 0 !important;}
That code is just for your HTML/CSS Block for your logo only.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I add it to the bottom HTML/CSS but doesn't seem to work, but I found an older post (also you)
@media only screen and ( max-width: 700px ) {
}
and add it to a new content block css, changed the widget number, and it seems to do the trick.
Again thank you for your help and patience.