style switcher

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10039527
    purvan9
    Participant

    The style switcher does not show any css or javscript
    its a plain html with no css or javascript


    #10039534
    Support
    Keymaster

    Hello, thanks for your purchase.

    To activate the Style Switcher you need to include the JS file:

    <script src="master/style-switcher/style.switcher.js" id="styleSwitcherScript" data-skin-src=""></script>

    Note that you cannot open the file directly on the browser, you need a local server (localhost) or upload to the remote server via FTP.

    If you just want to get the Skin Color, here’s the tutorial: https://www.okler.net/forums/topic/how-to-use-a-skin/

    If the problem persists, send us the URL of your site (not google drive with code)

    Please try that and let me know if you need further assistance.

    Kind Regards.


    #10039535
    purvan9
    Participant

    i opened with local host and added the javascript file and yet did not work

    below shows me added the js code you mentioned above
    some code of style switcher

    below shows the output when i run it in local host
    the output

    seems like the CSS is missing and the java-script does not work


    #10039536
    purvan9
    Participant
    This reply has been marked as private.
    #10039537
    Support
    Keymaster

    Hello, you don’t need to add the HTML, the only file you need to add is the Javascript.

    1) Download the latest version of Porto.

    2) Unzip all files under a localhost folder.

    3) Open the file index-classic.html

    4) Add the script right there:

    5) Open the server URL: http://localhost/HTML/index-classic.html (or where you have it running).

    6) The result will be:

    I just tested the exact steps here and it worked that way.

    If the problem persists, do that and upload to a server and send me the URL of your site. (not google drive).

    Again the style switcher is not required to run your website style, it’s just to generate the skin file, the same you can get from our preview site.

    Regards.


    #10039538
    purvan9
    Participant

    Thankyou very much , It worked well


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

This topic is marked as "RESOLVED" and can not rceive new replies.