• Hi,

    the tagline is only displayed with the style top menu. With all other styles the tagline is not displayd.
    customise/header/general/style/

    No tagline in sourcecode found
    `<div id=”site-logo-inner” class=”clr”>
    <a href=”https://mywebsite.com/&#8221; rel=”home” class=”site-title site-logo-text”>My Name</a
    </div>`

    Changing heights of the container does not make a difference. Checked it with some other themes and the tagline is displayd proper.

    Any idea whats wrong with this?

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter malthead

    (@malthead)

    Ok, I found out that tagline is shown only with top menu style.
    In a child theme ists possible to change that in logo.php. Than you have to style the tagline and the position with css.

    Hello,

    You can use the below code to display the tagline. Add it to the child theme’s functons.php file –

    function prefix_tagline() {
    	// Site description
    	if ( '' != get_bloginfo( 'description' ) ) { ?>
    		<div id="site-description"><h2><?php echo bloginfo( 'description' ); ?></h2></div>
    	<?php
    	}
    }
    add_action( 'ocean_after_logo_img', 'prefix_tagline' );

    Thanks! Is “description” where I would put my new tagine?

    Thread Starter malthead

    (@malthead)

    Thanks @apprimit, I know about that code

    I used this

    if ( display_header_text() == true ) {
      if ( 'miinmal' != get_bloginfo( 'description' ) ) {
      ?>
      <div id="site-description"><h2 <?php echo $header_text_color; ?>><?php echo bloginfo( 'description' ); ?></h2></div>
      <?php
      }
    }
    ?>

    But I decided to make my own header with elementor.

    You can add the tagline from the Customize > Site Identity section.

    Thread Starter malthead

    (@malthead)

    tagline only displayed in style top menu ?? tagline is not displayed for all other styles
    this is intentionally done by oceanwp

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Side Identity – Tagline not displayed’ is closed to new replies.