Create a different header for each page
JDGS
Registered Users Posts: 34 Big grins
Hi everyone,
I would like to add a different header to some of my pages, under the menu bar. What I've already done was to add a photo, but I would like to stretch it to occupy all the width of the page, while keeping the rest of the content at 1200px in width. But I don't know who I can do that. Does anyone know the CSS code for this?
This is what I have now: https://danielsantosphoto.com/Prints/Store
Thank you so much!
Daniel Santos
danielsantosphoto.com
0
Comments
If this is just for that page, then add this to a CSS Block:
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! It worked perfectly.
I was just wondering if instead of having a normal photo block at the top of the page, I could have a different image for each page in the header section of the site. I would like to have the menu and logo on top of the image, something like this: https://wildist.co/product/the-photographic-style-aesthetic-workshop
You can do that too, but more complex for people with no coding skills. You basically put all of those photos in your header. Then you will hide the ones you don't want in CSS. You will need to know the widget number and page node number. This is how you find those numbers: https://gallery.imagesinthebackcountry.com/Smugmug-customization/Locating-Your-SmugMugs-Node-or-Widget-Number
If that's over your head, then just add your photos in your header and let me know which photos go to what page and I'll take it from 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
I added one html block/widget in the header. Then for each different image/banner just changed the background for that single widget.
Here's an example of site wide and a specific folder flowing down to its children. BTW, the original widget was blank.
My Website index | My Blog
Never thought about doing that. Less headache a CSS.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Inside the HTML box add a png image. The menu would probably have to be created from scratch.
My Website index | My Blog
Thanks for the help. It looks a bit to difficult for me. I think I'll keep the easier version and I think I could do something similar to what I was looking for by removing the space between the photo and menu (red arrow) - image bellow. Page shown in the image - https://danielsantosphoto.com/Prints/Loja
Is it possible to do it with css?
Find this in your CSS you just added:
.sm-user-ui .sm-page-layout-pagetemplate.sm-page-layout-full {max-width: 100% !important;}
and addmargin: 0 Important;
like 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