-
rchittenden
Hi,
I would like to display my site title in the sticky navigation bar (instead of a logo image), so I found this snippet.
Does work fine, but it seems that logo image is required to have there as well?
Is there a way to display my site title only, without hiding logo with CSS? -
Hi there,
You can remove the
$output .
from the code like this:add_filter( 'generate_sticky_navigation_logo_output', function( $output ) { $title = '<div class="sticky-navigation-title">Your Title Here</div>'; return $title; } );
-
rchittenden
Hi Ying,
You mean, still have a logo image set in the Customizer (Layout > Sticky Navigation), but you simply remove it from the frontend snippet?
-
Yes.
-
rchittenden
Thank you Ying!
I already posted a feature request regarding this, hopefully this will be added in the (near) future 🙂 -
Hope so 🙂
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.