1. Home
  2. Customization
  3. How to add a full screen header to your SmugMug site

How to add a full screen header to your SmugMug site

Intro

In this short tutorial I will show you how to add a full screen header to your SmugMug site with an animated icon/arrow that will encourage your visitors to scroll down.

This tutorial is part of a series, which will allow you to create this custom layout on your SmugMug site:

Full Screen Header on SmugMug

You can test drive a similar layout here!

This design may look very complicated because we will be using only HTML and CSS to achieve this look – but don’t be worried, this is actually a very easy to follow tutorial – most of the stuff that you will be doing is copy and paste code :}

HTML and CSS

If you plan to add this header to your homepage, make sure that you are working on your homepage.  You can access your homepage design by logging into your SmugMug account → click CUSTOMIZE → CONTENT AND DESIGN and on the right side select HOMEPAGE:

customizing homepage on SmugMug

Once you have selected homepage you will need to add a HTML content block to the top of your homepage.

adding HTML content block to SmugMug

In the HTML section of the HTML content block you will need to add this code:

Just make sure that you don’t forget to replace the FULL SCREEN SECTION text with your own text.  As you can see there is a </br> tag between FULL SCREEN and SECTION – this is to break line tag, which will allow the word SECTION to appear below FULL SCREEN.

Open the CSS section in the HTML content block and then add this code to it:

I know the CSS is long – but the only thing that you need to change is the link to the image that you would like to use as your header image.  Once you have done this there is only one last thing left – THE ANCHOR POINT – this is the section of your homepage where your visitor will scroll to, when they hit the scroll icon in the header.

I recommend placing it right below the full screen header.

Adding an Anchor Point

Adding an anchor point to your page is very easy – just add another HTML content block right below the header that you have just added to your page and then add this code to it:

That is it :}

In the next tutorial I will be showing you how to add those two images with overlapping intro text – great for gallery descriptions, blog posts, etc.  Stay tuned!

Updated on January 13, 2017

Was this article helpful?

Related Articles

Comments

  1. Hi Tomasz,
    thank you for the tutorial!
    Do you know how to put a logo and a menu on top of the full screen header?

      1. Thanks for the prompt reply man!
        I wonder if it takes many codes for that function?
        Sorry I dont have a clue about coding lol

    1. I need to write it more clearly.
      If I choose the layout of the page stretchy, the header would be in full screen but also all content blocks below.
      If I choose a fixed layout (for example 1080), the content blocks would have the right size that I want but the header would be also in that size and not full screen.

      What I want is to have a full screen header and not full screen content blocks.

      1. Tu,

        You will need to set your homepage to STRETCHY and for content blocks below the homepage use the SPACER content block on each side of your content block to add more space – so they look narrower compared to the header.

  2. Great tutorial. I’m looking forward to seeing how you overlap text over an image. Is that tutorial up yet?

Leave a Comment