WordPress.org

Forums

Blue Planet
[resolved] Add logo instead of text to header (7 posts)

  1. michaeljmac
    Member
    Posted 1 year ago #

    How can I add a logo to the header instead of having text or using a banner?

    Thanks.

  2. laxmikanta
    Member
    Posted 1 year ago #

    what theme you are using and what is your website address?

  3. laxmikanta
    Member
    Posted 1 year ago #

    Let me know which theme you are using and your site link .Or simply you can go to header.php and add the code:
    <img src="image url" /> on the <header> section after checking the site on google chrome inspector .

  4. Nilambar Sharma
    Member
    Theme Author

    Posted 1 year ago #

    As per new rule in WordPress theme, there should not be option for uploading logo. If you want to have logo in the site, you need to make a child theme and modify accordingly.

  5. michaeljmac
    Member
    Posted 1 year ago #

    I have the Blue Planet theme with lines. What I'm trying to find is the code that writes the title and sub-title to the page. It's in a do_action function. I found a copy of it in theme-custom.php, but changing the code there does nothing. Where is the main copy of this? The do_action title is "blue_planet_after_masthead_open".

    Thanks.

  6. Nilambar Sharma
    Member
    Theme Author

    Posted 1 year ago #

    Yes, header content is displayed using that hook. If you want to change content in header then copy blue_planet_header_content_stuff() from inc\theme-custom.php in functions.php in your child theme and modify it.

  7. michaeljmac
    Member
    Posted 1 year ago #

    That worked. Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic