Site logo

Archived topic

in sticky header

5 replies · Started by René on March 22, 2023

Viewing posts 1–6 of 6

Hello, how can I display an SVG logo (<svg>) in the sticky header? I can only set a .svg file as via the customizer, but I need to use css to change the color of the font when the menu is expanded.

I already found this post but this hook doesn't work in the sticky menu.

https://generatepress.com/forums/topic/svg-logo-the-up-to-date-how-to/

Hi there,

Not sure if I fully understand.

Are you trying to modify the output of the sticky navigation logo uploaded in the customizer?

Let me know :)

in the customizer I can't specify an inline svg, only a .svg file in the img tag. Unfortunately, I cannot edit the CSS classes in the individual svg paths. so I need a hook or something, just like the normal menu

Thanks very much! That's what I was looking for :)

BTW: I forgot the "logo" in the thread title. If you want add it, the thread might be easier to find.

You're welcome Rene! :)

This archived topic is closed to new replies.