Hamburger Menu and logo image customization
dipanjan94
Registered Users Posts: 83 Big grins
I recently added a new logo for my Smugmug website https://www.dipanjanpal.com/ and noticed that for mobile, the logo and the hamburger menu are not aligned properly as you can see in the following image. How can I push my hamburger menu slightly upwards?
My second question is - my default logo is in black. However, I want to use the white version of my logo for two pages (my homepage, and the page https://www.dipanjanpal.com/Blog ). The white version of my logo can be found here. How can I make the changes?
The white version of my logo can be found here - https://photos.smugmug.com/photos/i-SRSt9KR/0/747e561f/X3/i-SRSt9KR-X3.png
Tagged:
0
Comments
In the tutorial (https://gallery.imagesinthebackcountry.com/Smugmug-customization/Adding-a-Hamburger-Menu), you are missing
transform: translateY(-100%);
. Currently you are showing this:Add
transform: translateY(-100%);
then you can probably change thetop: -65px
to around-45px
.Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Add a second Logo Block with your white logo. Add this to your theme's custom CSS section:
You will need to find what that Logo Block widget number is a and change the
.sm-page-widget-xxxxxxxx
to that number. If you don't know how to find that number, this should help: https://gallery.imagesinthebackcountry.com/Smugmug-customization/Locating-Your-SmugMugs-Node-or-Widget-NumberImages in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
I tried adding a second logo block, the widget number is 31836292.
I added the following code
It did not seem to work properly. The logo vanished from the Home and Blog page. Also in mobile, there is no logo/hamburger menu for the Home and Blog page.
For the rest of the pages, it looks fine. Could you tell me what I'm doing wrong?
EDIT:
Looks like you added some wrong notes here:
** logo customization white and black**
. It should say/** logo customization white and black**/
.Even with that the way you added the second logo (beside the black logo), it might be easier to just remove both Logo Blocks and use one HTML:
HTML
CSS
That should work.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Hi Mike, I removed both the logo blocks and added an HTML block like you mentioned.
However, I don't see the white logo being reflect in Home/Blog page. What am I doing wrong?
You didn't do anything wrong. SmugMug automatically adds the widget number in that CSS which doesn't work for this application. You need to remove the CSS in the CSS section of your HTML/CSS Block and add it to your Theme's Custom CSS Section like I explained here: 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