Site logo

Archived topic

Page hero overlay styling on closing Top Bar

3 replies · Started by Roger on November 25, 2018

Viewing posts 1–4 of 4

I have a Top Bar with a CTA on the site and have implemented a close function as described in #post582125. On closing the top bar the page hero overlay isn't applied to the top part of the background image.

Help appreciated to fix this!

Hi there,

Make sure this line reflects the height of your top bar (76px):

$( 'body' ).css( 'transformY', '-50px' ); /* height of top bar */

Perfect, thanks Tom!

You're welcome :)

This archived topic is closed to new replies.