andersnoren / bjork

Björk is a minimal block theme for blogs and personal websites.
https://andersnoren.se/teman/bjork-wordpress-theme/
51 stars 8 forks source link

Replace site title with logo possible? #8

Open aptonline opened 10 months ago

aptonline commented 10 months ago

Hi, loving the theme. It is possible to add the ability to use a site logo in place of the site title? Maybe an option to choose between them within site identity settings?

If not, what’s the easiest way to customise the theme to add this functionality?

thanks

andersnoren commented 10 months ago

@aptonline Glad you like it!

Sure, if you go to Appearance → Editor and click on the Site Title block in the sidebar, you can replace it with the Site Logo by clicking the Site Title icon button in the top left of the block toolbar.

aptonline commented 10 months ago

@aptonline Glad you like it!

Sure, if you go to Appearance → Editor and click on the Site Title block in the sidebar, you can replace it with the Site Logo by clicking the Site Title icon button in the top left of the block toolbar.

Hi, thanks for your response, if I try to transform the title to a site logo or add a new site logo block I get a spinner in the place of where the logo is and no options to add an image from the block sidebar.

Screenshot 2023-11-27 at 15 29 12

Any ideas?

andersnoren commented 10 months ago

@aptonline That sounds like some sort of JavaScript error in your WordPress installation rather than a theme specific issue, but you can confirm that by activating a different theme and inserting the site logo again.

One thing you can try is to disable your plugins one by one and see if any of them is causing a conflict with the site logo block.

aptonline commented 10 months ago

Doesn't seem to be working in 2 seperate installs of Wordpress 6.4.1 with 2 separate themes. Might be a plugin issue as you mention or an actual issues with this version of Wordpress.

aptonline commented 10 months ago

Seems its an issue: https://github.com/WordPress/gutenberg/issues/56358