Skip to content

SVG logo #860

Answered by crftwrk
starconfig asked this question in Q&A
Oct 14, 2024 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

I'm wondering, are we able to use an SVG logo? When I try using it in the filter, it's not showing on the front end, though PNG works fine.

What do you mean exactly here? There are two SVG logos https://github.com/bootscore/bootscore-child/tree/main/assets/img/logo which are linked in the header.php. Default one and one that is used in dark mode:

bootscore/header.php

Lines 47 to 51 in 61df6fc

<!-- Navbar Brand -->
<a class="navbar-brand" href="<?= esc_url(home_url()); ?>">
<img src="<?= esc_url(apply_filters('bootscore/logo', get_stylesheet_directory_uri() . '/assets/img/logo/logo.svg', 'default')); ?>" alt="<?php bloginfo('name'); ?> Logo" class="d-td-none me-2">

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by starconfig
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@crftwrk
Comment options

Comment options

You must be logged in to vote
1 reply
@crftwrk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants