Style Switcher

13 replies · opened Jun 24, 2016

TtampnickJun 24, 2016

Hello, I have purchased canvas template and i download the latest updated version today. In downloaded file i cannot see the Style Switcher (left) so as to change the template in dark. Specifically, I want to use the portfolio-3-masonry.php in dark. Can you give me the instructions??

Thank you in advance,
Nikos

TtampnickJun 24, 2016

Ok, I found it! I replace the <body class="stretched"> with: <body class="dark stretched">. The next question is how can i change the color in Style Switcher? (for example in the same portfolio-3-masonry.php page)

SSemicolon WebSTAFFJul 2, 2016

Hello,

You can change your Theme Colors by simply using the css/colors.css or the css/colors.php File. However, do make sure that you are using an Online Server or a Localhost (XAMPP/MAMP) while using the css/colors.php File.

Complete Setup Instructions for this has been added in the Documentation > Start > Color Schemes Section.

This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.

PpixelsalsaAug 1, 2017

Hi Canvas

Hi I have the switcher working nicely but I have an issue with cookie persistence between directories. I’m sure it will be a quick fix but if you could let me know a fix that would be excellent.

Thanks Dan

PpixelsalsaAug 1, 2017

i need an answer pls

SSemicolon WebSTAFFAug 2, 2017

Hello,

Thanks for your Patience. Please allow us at least 12 hours to provide you with a reply.

Please consider using the following code:

$.cookie('name', 'value', { expires: 7, path: '/' });

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

PpixelsalsaAug 2, 2017

hi - thanks - where should it be placed and what should 'name' and 'value' be?

thanks
Dan

PpixelsalsaAug 2, 2017

Hi

Can you respond please, really need to finish this.

SSemicolon WebSTAFFAug 3, 2017

Hello,

Thanks for your Patience!

The Switcher Files has been minified because it was created only for Live Previews and not for Development use for Canvas Users. Please allow us 3-4 Hours to provide you with a solution for this so that we can find the proper codes to replace. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

PpixelsalsaAug 3, 2017

Thanks very much

I also have an issue with recaptcha form. They key is valid but the form will not validate it.

http://www.redhousebarn.co.uk/development/contact/

&lt;script src="https://www.google.com/recaptcha/api.js" async defer&gt;&lt;/script&gt;
								
&lt;div class="g-recaptcha" data-sitekey="6LekGhkUAAAAAJu3AVIdCrH4sh6f-gEt0J0qhbow"&gt;&lt;/div&gt;
PpixelsalsaAug 3, 2017

Hi

Any update on switcher persistence?
Thanks
Dan

SSemicolon WebSTAFFAug 5, 2017

Hello,

Thank You so much for your Continued Patience!

  1. Please update your switcher.js JS file with the following Codes: https://www.dropbox.com/s/u6qbwyt2dbz80cn/switcher.js?dl=1 .

  2. This appears to be a Server Configuration Issue. Please make sure that the PHP file_get_contents Function is working fine on your Servers.

This will definitely fix your issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

PpixelsalsaAug 11, 2017

This solution does not work - please help - this is preventing the site from launching and me getting paid!

HELP

SSemicolon WebSTAFFAug 14, 2017

Hello,

Thanks for your Patience!

We have gone through everything and unfortunately, the only issue is, as we mentioned earlier that the switcher.js File we have is minified which is really proving to be difficult in editing the file according to your needs! The only solution will be remove the Cookies completely. Please find the following JS Code in the switcher.js File:

o=e.cookie("canvashtmlSwitcherLayoutMode"),s=e.cookie("canvashtmlSwitcherColor"),a=e.cookie("canvashtmlSwitcherPattern");

and replace it with:

o=e.cookie("canvashtmlSwitcherLayoutMode1"),s=e.cookie("canvashtmlSwitcherColor1"),a=e.cookie("canvashtmlSwitcherPattern1");

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard