Header Logo as Text or Image

I have the below client requirement:
1) If the client sets an image for their header logo, use the image as their header logo.
2) Else, display the Blog Title as the header logo

Could someone provide a snippet of code that I can put in my child theme to solve this issue?


  • Nastia

    Hello Matt , I trust you are doing well today!

    I'm afraid this is not possible to do out of the box with the Upfront Builder. This will require a lot of custom coding and will be very hard to achieve since it will require switching from image element to text element.

    The only way so far, to change a logo image, is to open Upfront themes in Editor , load a different logo image from there, or replace the image element with text element manually, by drag and dropping the element inside a region.

    Let me know if you have any further questions!

    Kind regards,