Okay
  Public Ticket #2700323
Logo | Split Text Logo
Closed

Comments

  • TakeAPicSeb started the conversation

    Hi,

    I would like to use a text as logo, instead of an image, to improve page loading and because i just use text in my logo ^^

    My question is : Is there a way to split in two lines a textual logo ?

    Thanks in advance

  •  2,723
    Andrew replied

    Hi There,

    I am afraid, this is not possible at the moment.

    Thanks.

  • TakeAPicSeb replied

    I found a solution, simply add this code in functions.php file :

    function wp_hook_footer_js() {
            ?>
    <script>
        var logo=document.getElementById('logo');
        logo.innerHTML="First Row></br>Second Row";
    </script>
            <?php
    }
    add_action('wp_footer', 'wp_hook_footer_js');
  •  2,723
    Andrew replied

    Hi there,

    Glad you found the solutions and thank you for sharing with us.

    Thank you.