Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline kirstykiwi
Free Member
Posts: 56
Posted on: December 07, 2015, 02:31:09 PM

I only seem to have the 'default' widget style - how can I get the the other styles back?  I have used the same template on another site and it is fine. 

onlinelasertraining.co.uk - misbehaving site

Thanks
Kirsty
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: December 07, 2015, 02:47:55 PM

I believe I have seen this problem before; there has been a slight tweak to the way the styles list is generated in newer versions of the framework, and on some servers the backwards compatibility I programmed in seems to fail.  The fix is easy though.  If you edit templateDetails.xml in the theme folder, you will see a list near the top that is wrapped with <colors></colors> and has each item wrapped with <color></color>.  If you change that structure to <styles></styles> and <style></style> the list will reappear.
Logged

Offline kirstykiwi
Free Member
Posts: 56
Posted on: December 07, 2015, 03:06:58 PM

Changed it to look like this - but it still isn't working:
<styles>
      <color>-dark</color>
      <color>-none</color>
      <color>-inset</color>
      <color>-highlight1</color>
      <color>-highlight2</color>
      <color>-no_shadow</color>
      <color>-title_lines</color>
      <color>-title_lines_no_bg</color>
      <color>-centered</color>
      <color>-highlight1_title</color>
      <color>-highlight2_title</color>
      <color>-none_laptop</color>
   </styles>

I also replaced all color with styles  - just in case. but still nothing.
<styles>
      <styles>-dark</styles>
      <styles>-none</styles>
      <styles>-inset</styles>
      <styles>-highlight1</styles>
      <styles>-highlight2</styles>
      <styles>-no_shadow</styles>
      <styles>-title_lines</styles>
      <styles>-title_lines_no_bg</styles>
      <styles>-centered</styles>
      <styles>-highlight1_title</styles>
      <styles>-highlight2_title</styles>
      <styles>-none_laptop</styles>
   </styles>

Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: December 07, 2015, 03:11:56 PM

Replace <color> with <style>.

The structure should be:
Code:
<styles>
<style>-style1</style>
<style>-style2</style>
</styles>
Logged

Offline kirstykiwi
Free Member
Posts: 56
Posted on: December 07, 2015, 03:26:50 PM

Coolio... sorted!
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.034 seconds with 23 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
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.