How To Create Sticky Headings In Adobe Muse
Today is the start of my Adobe Muse tricks and tips tutorials, which I hope to be posting once a week.
Iām starting off with āStickyā headings: a simple but effective way of displaying headings for sections of your page content. As the page is scrolled up, the section headings stick themselves to the top of the page until the next section reaches the top, and so on. To do this, weāll be using the Scroll Effects in Muse. Iām going to use a very basic page to demonstrate the technique but the steps are the same for any complexity of layout.Ā
Ā
Iām beginning with a new site here, note the Minimum Height setting has been increased to 1500px. This is to accommodate the amount of space needed for the scroll effects. This can also be adjusted in the Design View by dragging the Bottom of Page Guide down, or simply by adding elements to the content area, where Muse will push the footer area down for us.
Ā
Normally, weād define the header and footer using the Master Page but as this is a simple example, weāll jump straight onto the Home page and open it in Design View by double-clicking the pageās thumbnail in the Plan View.
Ā
Hereās our page, with not a lot on it. Weāll use styled text frames for our headings, so weāll start by grabbing the Text tool (keyboard shortcut: T) from the Toolbox. Click and drag a frame from the left edge of the content area, over to the far right of the content area. Donāt worry about the vertical position or the height for now, we can adjust them later.
Ā
For simplicity, Iām using the text HeadingĀ and the heading number. Not very original, I know, but it gets the point across. The text is far too small, of course. Weāll fix that in a moment.
Ā
Now weāll set the styling for our headings. Switch to the Selection tool (keyboard shortcut: V). This should automatically select the text frame but if not, click inside it. We can see the currently active object on the left of the Control Strip.
Ā
Weāll start off with the text frame's Fill colour. This can be set either from the Fill Settings on the Control Strip, or from the Fill panel. Iām using shades of orange here, since theyāre in a convenient order in the Swatch panel.
Ā
Now for the text. Go to the Text Options on the Control Strip, or use the Text panel. Again, weāll keep things simple, so weāll keep the default font of Arial. Weāll need to make it larger, of course. A point size of 60px should suffice. Weāll leave the colour as black.
Ā
Weāll shrink the frame a little by clicking and dragging the frame's bottom-middle handle up. Iāve set it to 86px here. Now move the frame up to meet the Header Guide. We can click and drag until it snaps into place, or use the Up Cursor Key to nudge it ā holding the Shift key increments it by 10 pixels at a time.
Ā
Before we move on, we need to make sure that the headings will appear above the rest of the page content. The best way to do this is to place them on a separate layer. Go to the Layers panel. Click the New Layer icon at the bottom of the panel.
Ā
Right click on the text frame, or go to the Object Menu. Select the Move to LayerĀ menu item and click Layer 2. Our text frame has been moved to the new layer; its frame border changes to reflect the label colour of the layer, red in this case.
Ā
Now we can define the movement for the frame, which, since this is the first heading, wonāt actually be moving at all. Open the Scroll Effects panel. Select the Motion Settings ā this is the first option denoted by three cascading circles. Change both values for Initial MotionĀ to 0. Set the Key Position to 0 (the top of the page). This can be done by either dragging the T-handle or by typing the value into the field. Set both values for Final Motion to 0 as well. This anchors the frame in a fixed position at the top of the page.
Ā
Now weāll add some content to the page. Go back to the Layers panel. Click Layer 1Ā to make it the active layer. This will make sure the content sits beneath the headings. Iāve created a new text frame and filled it with placeholder text, just so we have some substance to show off the effect. The point size is 30px here.
Ā
To speed things up, we can duplicate the heading and content frames. Grab the Selection tool. Click the text frame we just created. Hold down the Shift key and click the heading frame. This selects both elements at the same time. Now go to the Edit menu and select Duplicate. We now have a copy of both objects; Muse offsets them slightly to make it easier to move them. If we open up the layer contents in the Layers panel we can see that Muse has retained the layer structure with the headings on Layer 2Ā and the text frames on Layer 1.
Ā
Double-click the new heading frame to make the text editable. Change the 1 to 2. Grab the Selection tool again. Now change the heading's Fill colour to the next shade of orange in the Swatch list.
Ā
We need to alter the motion settings for this heading, as we need it to move up as the page scrolls. Go to the Scroll Effects panel. Change the Initial Motion value to 1 px vertical, this will scroll the frame at the same speed as the rest of the content. Leave the Horizontal Movement at 0. Since we duplicated the first heading item, thereās no need to adjust the Key Position, as it will stop in exactly the same position, once it reaches the top of the browser. If we had created the object from scratch, it would have been necessary to work out the position by subtracting 62px ā the distance between the position of first heading item and its Key Position āĀ from the second headingās position . Again, we need to leave both values for the Final Motion at 0 to stick it in place, once the Key Position reaches the top of the browser.
Ā
Make a couple more duplicates of both the second heading and content frame as we did before ā you can use the keyboard shortcut of Cmd+Opt+Shift+D (Mac)Ā orĀ Ctrl+Alt+Shift+D (PC)Ā to speed up the process further. Change the text and colour, then move them into position down the page (shown here zoomed out to the full page). The correct Scroll Motion settings will be copied as before, so thereās no need to adjust them.
Ā
Go to the File menu. Select Preview Page in Browser. All being right, as you scroll the page, the headings will scroll up and stop when they reach the first heading, stacking up on top each time ā this doesn't translate well in a static image!. We can see the text scroll past the heading here but ordinarily that would be hidden by the navigation menu or another page element.
Ā Thatās the basics of using Scroll Effects to create stacking headings in Adobe Muse. Give it a try with your own sites.
Until next time. Take care!