New Topic

Put text above the picture/in the picture.

Home › Forum › Customization › Put text above the picture/in the picture.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #220
    StartupWP
    Keymaster

    Hi arjan,

    It sounds like you’re asking if you can include the site title and logo together? Is that correct?

    Please clarify, if that’s not correct so I can help you solve the correct request.

    Thank You

    #223
    arjan
    Participant

    Yes, that is correct.

    #225
    StartupWP
    Keymaster

    You’ll want to setup a child theme:

    https://startupwp.com/topic/child-theming/

    Then copy over header.php from your parent theme. In your theme options you’ll want to choose the logo option. Then find the following in header.php:

    <?php
    if (!is_singular()) {echo '<h1>';}
    echo '<a href="'.home_url().'/" title="'.esc_attr(get_bloginfo('name')).'" rel="home">';
    if ($options['logo']!="")
    echo '<img src="'.esc_url($options['logo']).'" alt="'.esc_attr(get_bloginfo('name')).'" id="logo" />';
    else
    echo esc_html(bloginfo( 'name' ));
    echo '</a>';
    if (!is_singular() ) {echo '</h1>';} ?>

    Either above or below this block of code, you’ll want to add:

    <h1>Your Site Title</h1>

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.