How to change the site logo

The Blockify theme preview uses a regular image block for the logo. This can be replaced with the Site Logo block during setup and will work the same.

Follow the steps below to change the site logo to your own:

  1. Navigate to Appearance > Editor
  2. Click on the logo (image block)
  3. Click Replace then click Open Media Library
  4. Upload or choose your logo image and click Select
  5. Add a link by clicking on the link 🔗 icon in the block toolbar
  6. Enter the URL (e.g https://blockifywp.com/) and click the ⏎ button to apply
  7. Save your site changes

The above steps can be seen in the screen recording below:

SVG Logo (and dark mode)

The Blockify theme preview uses an SVG image for the logo for better display resolution, performance and dark mode / style variation color support.

To enable SVG uploads for your site, you will need to install the Safe SVG plugin since WordPress doesn’t support this by default. Once the plugin has been activated, you will be able to upload SVG images. Upload your logo to the Media Library and then deactivate the plugin if no longer required.

Blockify automatically renders SVG images inline instead of loading the file. This allows for further customization and theming of logos (and other images).

For example, in the Blockify theme preview, the logo icon uses the primary color and the logo text uses the current text color for the path fill. Since these values are using CSS custom properties, they inherit the current theme styles and also support dark mode/style switching.

Below is an example SVG logo using a theme color custom property for the fill color. (you will need to edit your SVG before uploading to the Media Library):

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 69.3 19.8"> <path fill="var(--wp--preset--color--primary,currentColor)" d="M27.5 3.9v11.6h-1.8V3.9h1.8zm1.9 7.7c0-.8.2-1.5.5-2.2.3-.6.8-1.1 1.4-1.5s1.3-.5 2-.5c1 0 1.9.3 2.5.8.7.5 1.1 1.3 1.2 2.2h-1.7c-.1-.5-.3-.8-.7-1.1-.3-.2-.8-.3-1.2-.3-.4 0-.8.1-1.2.3-.3.2-.6.5-.8.9-.2.4-.3.8-.3 1.4 0 .5.1 1 .3 1.4.2.4.4.7.8.9.3.2.7.3 1.2.3s.9-.1 1.3-.4c.4-.2.6-.6.7-1H37c-.1.6-.3 1.1-.6 1.5-.3.4-.8.8-1.3 1-.5.3-1.1.4-1.8.4-.8 0-1.5-.2-2.1-.5s-1-.8-1.4-1.4c-.2-.7-.4-1.4-.4-2.2zm8.7 0c0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