WP UI - Tabs, Accordion
Custom theme not showing when using accordion
Hello, I just discovered your widget yesterday in my quest to easily implement my custom jquery ui theme I downloaded from their themeroller. I was using J Shortcodes earlier with limited success, and have gotten further using your interface, so thanks.
I have hit a wall however. I am very new to jquery and using shortcodes on pages, and html/css editing in general, so forgive any ignorance on my part. I followed the steps outlined in your guide on using custom UI themes, and so far it has worked using the [wptabs] shortcode: I am able to see my custom theme. But when I try to implement the accordion, it seems to stop working.
Is there a specific syntax used to start the accordion? So far I have tried this test code, and it only gives me partial results (content area is reflects custom theme, but tab area does not):
[wptabs style="wpui-custom" type="accordion"]
[wptabcontent] Contents of the writing tab [/wptabcontent]
[wptabcontent] Contents of the Quotes tab [/wptabcontent]
[wptabcontent] Contents of the Tables tab [/wptabcontent]
[wptabcontent] Contents of the Align tab [/wptabcontent]
test page here:
I read through other posts on this forum, and have tried switching off other plugins and saving the change options in the wpui several times, all with no success. I even upgraded to the latest Jquery (I think, I tried to replace the jquery.js on my server in my theme's folder), with no ill effects.
Any help you can give would be greatly appreciated: this last piece of functionality is all that I need to continue with the completion of my site.
Hi Scott, try choosing a jQuery UI theme as the default in the options page. Please try it and let me know.
Kavin, it worked! Just for further clarification, why is this the solution? Does the widget pull off of different "variables" depending what the default theme is? Learning how to edit css/html and now very basic js has been like attempting another language.
Thanks for the workaround and quick response- my template designer's support staff usually take a day or two to get back to their customers.
I will be sure to let you now of any more questions.
This solution is just temporary. Default behavior is that when you include a custom jQuery UI theme, WP UI prepends an additional CSS file, that resets the elements before the custom theme css file. But when you choose the CSS3 style, this is not done.
Ah, so I was headed in the right direction with my earlier assumption. Will this be addressed in future versions?
Next version allows you to select a custom theme as the default. Next version 0.8, jQuery UI themes downloaded will need to be prepended "jqui-", to make the necessary additions.
Do I edit the custom CSS already uploaded, or do I have to download the theme again?
Disregard that last question- I just chose the custom theme as the default in your UI and it seemed to work. That was all I did, so I am still unsure what prepending the theme with "jgui-" would do. It works now, in any case.
Yes it works now. I won't necessitate the jqui-prefix requirement for now.
But i do recommend you name the custom styles with prefix "jqui-".
So instead of the "wpui-xxxx", switch it to the "jqui-xxxx"? Will do. Thanks again
Add a Comment
Start a New Discussion
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ WP UI - Tabs, Accordion
↳ Conflicts/Known Issues
In this Discussion
Powered by Awesome users and