Change nav and logo text to white/black when scrolling
-
Dear @fabiandraxl
There are two different logo's. Every two 'scrolls' or 'slides' the class "white" is added to the site title changing the "background" url.
(standard = black logo)
a.sitetitle { display: block; width: 50px; height: 34px; background: url(/wp-content/uploads/2019/01/ST_Logo_test-03-03.svg) no-repeat center center / contain; }(white 'class added' = white logo)
.sitetitle.white { background: url(/wp-content/uploads/2019/02/ST_Logo_test-03-03_WHITE.svg) no-repeat center center / contain; }Also this link will help with use of the Developer tools where you can inspect a page:
Hope this helps & best wishes 🌝
Richard
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login