Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6441
    Chris
    Participant

    Hi, I have the following weird problem.

    I have a page with a script on it (http://www.elsiena.nl/wp/bloemen-bestellen/)

    and this is the script
    <script type=”text/javascript” src=”https://topbloemen.nl/javascripts/shop.js?partner-id=775&target=main”></script&gt;

    The page shows fine in IE, Firefox and Opera, but not in Chrome.

    What can I do to get this to work.

    Hope  someone can help to fix this, because I have to get my website online as soon as possible.

    Chris.

     

    #6460
    Sakin
    Keymaster

    @Chris: You can add these script in either Header or Footer Code in “Appearance => Theme Options => Webmaster Tools => Header and Footer Code”. Ask your developer or the script provider when should you add this script to.

    #6465
    Chris
    Participant

    This script is a webshop en must be shown on a page, I don’t know why I shoud ad it to header or footer?

    Have you look at it in Chrome and IE?

    The code works fine in other themes but not in Catch Box Pro

    Chris.

    #6468
    Sakin
    Keymaster

    @Chris: Just add the following CSS in “Custom CSS” box in Theme Options panel.
    iframe { height: auto; }

    #6471
    Chris
    Participant

    Did not work 🙁

    Could it have something to do with Jquery?

    Because when I use this:

    <script src=”//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js” ></script>

    <script type=”text/javascript” src=”https://topbloemen.nl/javascripts/shop.js?partner-id=775&target=main”></script&gt;

     

    On the standard theme of WordPress it works fine in Chrome.

    take a look here:
    http://www.elsiena.nl/cms/test/

    #6509
    Chris
    Participant

    In the dutch WordPress Forum some suggested that  it was caused by this

    http://fonts.googleapis.com/css?family=&subset=latin

    that the font family was not specified, and so the page was not loaded correctely.

    Could this be the problem?

    Chris.

     

    #6510
    Sakin
    Keymaster

    @Chris: Can you change any font from your Theme Options and check it if that is the issue of google font as per the forum you told.

    #6511
    Chris
    Participant

    Changing the font is not helping 🙁

    I’m desperate!!

     

    Chris.

     

    #6512
    Sakin
    Keymaster

    @Chris: Ok I have just contacted you in email send me reply soon.

    #6518
    Sakin
    Keymaster

    @Chris: I fixed the issue by adding the following CSS in your “Custom CSS” box in Theme Options panel:

    iframe#TopbloemenShop { display: block; height: auto; }

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Script problem’ is closed to new replies.