Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1320365
    #1320541

    Hey nickthe,
    Thank you for your patience and for the screenshots, but I don’t think that you gave us access to the correct site as I don’t see the filter above in your functions.php and the logo doesn’t match the screenshots, please check.
    To answer your request, try adding this code to your functions.php instead:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
    	if( is_front_page() ){
      $sub .= "<h1 class='logo-title logo-subtitle'>";
      $sub .= "Company Name";
      $sub .= "</h1>";
    	}else{
      $sub .= "<span class='logo-title logo-subtitle'>";
      $sub .= "Company Name";
      $sub .= "</span>";
    	}
      return $sub;
    }

    and add this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    #top .logo, #top .logo a {
        overflow: visible;
    }
    
    #top .logo-subtitle {
        color: #aaa !important;
        font-size: 18px !important;
        top: 30px !important;
        position: absolute;
       white-space: nowrap;
    }
    #top h1.logo-subtitle {
    	line-height: 90px;
        margin-bottom: 0;
    }

    then clear your browser cache and check.

    Best regards,
    Mike

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