Change and replace Style 1 to Style 3 vice versa

  • miq
    Inactive member
  • Topic Author
  • Member
  • Member
More
8 years 11 months ago #44944 by miq
Dear Sir,

I want to change Style 3 to my default color on my Spark template. How can I make Style 3 to default i.e. Style1 and replace Style 1 to Style 3 vice versa.I know I can do it via template manage but I want change it from File Manager.

Please Log in to join the conversation.

More
8 years 11 months ago #44950 by ivan.milic
Why you don't use template manager ?

You could maybe replace names of /css/style1.php and /css/style3.php

Please Log in to join the conversation.

  • miq
    Inactive member
  • Topic Author
  • Member
  • Member
More
8 years 11 months ago #45011 by miq
I cannot locate the file /css/style1.php in Sparks template. And how to make Style 3 as default Style 1 and Style 1 to Style 3 vice versa without Template Manager, in File Manager.

Please Log in to join the conversation.

More
8 years 11 months ago #45012 by ivan.milic
Well try this fix, in index.php in your template put before this line

if($templateStyle) { ?>

this code

if(!$templateStyle || $templateStyle<=1){
$templateStyle=3;
}
else if($templateStyle==3)
$templateStyle=0;

Please Log in to join the conversation.

Time to create page: 0.369 seconds
Powered by Kunena Forum