Forum Support

Shape 5
March 29, 2024, 03:04:07 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Adding Themes  (Read 703 times)
webhelpus
Jr. Member
**
Offline Offline

Posts: 14

Gravatar


« on: January 09, 2015, 02:14:23 PM »

You have a dark theme and a light theme.  I'd like to change that and have a spring, fall, winter themes.  I know how to add the choices to the Vertex menu, but how do I get it to choose the right theme rather than the dark or the light?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: January 09, 2015, 02:40:40 PM »

Hello,

This would require custom coding to achieve this.  You will notice we have a separate dark.css file that overwrites a lot of the default template.css file settings to achieve the dark look.  You would need to do the same for you spring, fall and winter themes.  In the index.php file you'll see how we called the dark.css file and lastly in the xml/specific.xml file you'll see how we added it to the backend of Vertex.

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
webhelpus
Jr. Member
**
Offline Offline

Posts: 14

Gravatar


« Reply #2 on: January 09, 2015, 02:45:42 PM »

I take it that the
Code:
<?php if ($s5_theme == "dark") { ?>

that value is in the xml/specific.xml

Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: January 10, 2015, 04:57:55 PM »

Hello,

That is where the trigger code is written but the toggle button is built directly in the Template Manager.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
webhelpus
Jr. Member
**
Offline Offline

Posts: 14

Gravatar


« Reply #4 on: January 19, 2015, 01:55:53 PM »

Where are the $s5_highlightcolor and $s5_highlightcolor2 variables declared.  I see where
Code:
<field name="xml_s5_highlightcolor" type="text:6:6" default="" label="TPL_HIGHLIGHTCOLOR_LABEL" description="TPL_HIGHLIGHTCOLOR_DESC" />

in the Specific.xml file, but where does that variable get declared?
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #5 on: January 19, 2015, 11:32:31 PM »

Hello,

It is an echo variable from the index.php file that calls whatever the input is in the Template Manager.
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
webhelpus
Jr. Member
**
Offline Offline

Posts: 14

Gravatar


« Reply #6 on: January 20, 2015, 12:10:38 AM »

Hello,

It is an echo variable from the index.php file that calls whatever the input is in the Template Manager.

I needed a different highlight and highlight2 colors based on the theme and found a way to do that.  Thank you.
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #7 on: January 22, 2015, 12:09:38 AM »

NP
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.