In CustomCSS, add the following code, replacing the font family name and the source with your font. The source, as in the example, can be a saved font in a Google bucket folder. Assign the font to any element you like. You may add as many different fonts as you like.
Go to Google Fonts, find the font you like and select the variations of the font you would like to include. There is a link the the font with the weighted variations. Copy that and replace the font family name and the source with your Google font. You may add as many different fonts as you like.
There are a few options when it comes to updating the logo sizing.
The most important style to bear in mind is the max-width with a default size of 140px. If you find that your logo is rendering too wide or too narrow, this should be the first property to update.
The height property on the other hand is defaulted to 100%. If you find that your logo is rendering too tall, this value should be adjusted to a <100% value accordingly.
This changes the background gradient color for main gradient. Use if you need help with the gradient CSS.
You can change the gradient for each piano slide. To change the color for each slide, use the code below and change “data-index” number to target a particular slide. Indexes are zero-based, so “0” is the first slide.
The code to remove or adjust the style on hover uses the same CSS selector. You can either set transform: scale(1) !important; or you can set transform: none !important; to completely remove the hover state.
Update the scale() value in order to change the amount of zoom on hover. The default is scale(1.1).
The piano key headlines are already vertically centered on the Dim unit, so vertically centering the text on the Magnify unit involves matching the style from the Dim unit.
If you want to achieve the opposite effect with the text of the Dim unit aligned lower on the key similar to the Magnify unit, use the below code instead.
NOTE: In both examples, the 110px and 195px values are matched in both the height and bottom CSS properties.
Bearing this in mind, with a default value of calc(100% - 110px) being equal to 100% of the visible piano key height, you can increase this value to increase the amount of space below the headline text or vice-versa.
If you would like to change the mainSubheader text when in mobile, implement the following code. Included is a version with an “observer” that will change the text when in responsive mode on your browser. We recommend you only use this version for testing and use the non-observer version for Production.