Okay
  Public Ticket #487266
Logo problem
Closed

Comments

  •  1
    Angela started the conversation

    Hi djwd,

    I want to be able to use the Site name "Tell Tales" and my site Description in my header area and remove the logo I have.

    I went to "Theme Options", removed the Header logo, and it placed my site name and description, BUT it messed up the floating logo on the top left corner. It takes the site name and tries to squeeze it in there too.

    Thanks
    Angela

  •  93
    djwd replied

    Hi there,

    I\'m not quite sure which is the floating logo on the top left. If you can\'t show the issue in action could you please post a screenshot? Thank you

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    Hi djwd,

    Sorry, I thought I could try explain it.

    The screenshot is attached.

    Regards
    Angela

  •  93
    djwd replied

    Hi there,

    I see now, I was missing you were talking about the logo inside the sticky nav!

    As a personal opinion i think the sticky nav logo looks much better with the circle logo :)
    By the way I couldn\'t replicate the issue, I even tried removing logos and naming my own staging site as Tell Tales, but that\'s the result (see attached).

    I\'d really need to see this in action to understand something more.

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    Hi djwd,

    Yes the sticky nav! I want to keep my footer logo in the sticky nav (top corner), but have my Site name (h1) and site description as my logo.

    How can I go about doing this?

    Thanks,
    Angela

  •  93
    djwd replied

    Hi there,

    if you want to do this because of SEO as I suppose, you don\'t need to as the main site title remains the one in header, the sticky nav is just a clone.

    You could use the text title for the main header title and keep the footer logo as an image for the sticky nav (and footer).

    If you want to use a visual logo and an h1 tag there are several techniques that would need some modifications to the header.php template, unfortunately that goes beyond regular support. You\'ll find lots of info by making a Google search though.

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    It is mainly to get rid of an unnecessary image from loading on every page. I also hope it will help my site get found for \"Tell Tales\" in searches.

    Yeah, this is exactly what I want to do...

    \"You could use the text title for the main header title and keep the footer logo as an image for the sticky nav (and footer).\"

    How can I do this?

  •  93
    djwd replied

    Hi there,

    my mistake, in your case my suggestion doesn\'t apply. I have to provide some solution now :)

    Please paste this in the Custom Javascript textarea, and only upload the footer logo:

    jQuery( document ).ready( function( $ ) {
        var footerLogo = $(\'#footer-logo img\').attr(\'src\');
        
        $(\"#nav-clone .mgm-logo-text\").empty()
        $(\"#nav-clone .mgm-logo-text\").prepend(\'<img id=\"navLogo\" />\')
        $(\'#navLogo\').attr(\"src\",footerLogo);
    });

    It should work (tested).

    Hope it helps

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    Hi djwd,

    Thanks for the fix! The sticky nav logo was linked to my homepage before we applied this fix, how do we link it again?

    Thanks

  •  93
    djwd replied

    Try with:

    jQuery( document ).ready( function( $ ) {
        var footerLogo = $(\'#footer-logo img\').attr(\'src\');
        
        $(\"#nav-clone .mgm-logo-text\").empty()
        $(\"#nav-clone .mgm-logo-text\").prepend(\'<a href=\"http://www.telltalesonline.com/\"><img id=\"navLogo\" /></a>\')
        $(\'#navLogo\').attr(\"src\",footerLogo);
    });
    

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    Unfortunately this didn\'t help djwd. It made the Sticky Nav logo change back to \"Tell Tales\" in text format again.

    I also noticed that the Sticky Nav logo has disappeared on tablet mode too.

  •  93
    djwd replied

    Ok try this one out (tested), should put you on the right tracks:

    jQuery( document ).ready( function( $ ) {
    var footerLogo = $(\'#footer-logo img\').attr(\'src\');
        
        $(\"#nav-clone .mgm-logo-text\").empty()
        $(\"#nav-clone .mgm-logo-text\").prepend(\'<img id=\"navLogo\" />\')
        $(\'#navLogo\').attr(\"src\",footerLogo).wrapAll(\'<a href=\"http://www.telltalesonline.com/\"></a>\');
    
    });

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    It is linked to the homepage now. :)

    If it ain\'t too much trouble I would appreciate it if you can get the sticky nav logo appearing on tablet too (see attachment). It use to be there before the fix you gave me too.

    Thanks


  •  93
    djwd replied

    Hi there, glad it worked.

    Try with:

    @media (max-width: 1199px) {
        .nav-wrap#nav-clone .mgm-logo-text,
        .nav-wrap#nav-clone .scrollup {
        display: block!important;
        }
    }

    should work.

    Regards
    djwd

    Regards
    djwd

  •  1
    Angela replied

    Thanks djwd, that fixed it!