Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #821721

    Hi, I’ve read all the answers as usual but most involve functions.php and child theme, both of which I don’t think I have.
    Is there any other way I can create a simple tagline underneath my main Logo?
    Thanks,
    Peter.

    #821746

    Hey Pirlyxyz,
    To add the tagline from the WordPress settings under the logo, edit the Tagline in WP:
    postimage
    Add this code to the end of your functions.php file in Appearance > Editor:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
      $sub .= "<span class='logo-title logo-subtitle'>";
      $sub .= get_bloginfo( 'description', 'display' );
      $sub .= "</span>";
      return $sub;
    }

    Add this code in the General Styling > Quick 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;
    }
    

    Here’s how it will look:
    postimage

    Best regards,
    Mike

    #821992

    Hi Mike,
    Thanks for such a quick and detailed reply.
    I’m afraid that I can’t find the functions.php file in Appearance > Editor. I only have four choices under Appearance which are Theme, Customize, Widget, Menus.

    Cheers,
    Peter.

    #822026

    Hi,
    Perhaps you don’t have full admin access, or someone has supper admin and is blocking edit from you? Or you have a security plugin and you need to give yourself edit permission?
    postimage
    Try FTP access and edit functions.php at: (your host)\wp-content\themes\enfold
    postimage
    Save a backup copy of the un-modified functions.php on your desktop… just in case :)

    Best regards,
    Mike

    #822187

    Hi Mike,

    Thanks again for such a comprehensive reply.

    My knowledge is not quite sufficient to understand a lot of your advice but I’ll forward this to my VPS company who do a great job at helping me out with areas like this.

    Regards,

    Peter.

    #822191

    Hi,
    Glad to help, let us know how it goes as I’m curious why you can’t get to the editor.

    Best regards,
    Mike

    #946182

    Code above works, thanks. Now how do you hide the tagline on mobile devices?

    #946335

    Hi,

    Please include the url to the page in question so we can take a closer look. 

    Best regards,
    Mike

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