• Resolved orlin91

    (@orlin91)


    Hello I have a problem with displaying the logo. When I add the url of the desired logo and save the changes, instead of the logo I see only the url that I copied. I am working on local at the moment. When I go to the page and inspect it it seems it does not put the url into an img. Here is the problem https://drive.google.com/open?id=0B3eCgNFHfeT-c1pWZi0xdmpGT0E . Thanks in advance.

    • This topic was modified 8 years ago by orlin91.
Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a bug in slectnav.js around line 109

    Here is a fix for it:

    var brand = $('<div class="' + prefix + '_brand"><img src="'+settings.brand+'"></div>');

    Maybe someone could commit this?

    • This reply was modified 7 years, 10 months ago by spectodesign.
    Plugin Author neilgee

    (@neilgee)

    This is already in the code – jquery.slicknav-ng.js line 122

    
                //NG edited brand so its a src of an image
            if (settings.brand !== '') {
                var brand = $('<div class="' + prefix + '_brand"><a href="' + slickNavVars.ng_slicknav.ng_slicksearch + '"><img src="' + settings.brand + '" alt="' + slickNavVars.ng_slicknav.ng_slicknav_alt + '" /></a></div>');//Made the brand into a src URL for an image
                $(menuBar).append(brand);
            }
    

    I realise this is an old thread – please comment back if still an issue

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with the logo’ is closed to new replies.