Change li class for Widgets
-
Hello,
I converting an HTML/CSS layout into a WP theme and have ran into a little problem. The layout has a JQuery effect for list items in the sidebar that is triggered by an li class:
<li class="feat" style="margin-left: 0px;">
You can view the original layout here | Theme I’m coding here
If you visit the above links, you will see my sidebar do not have the functionality as the above, the only part I’m missing is changing the li output from:
<li class="cat-item cat-item-7">
to<li class="feat" style="margin-left: 0px;">
Here is my functions.php code:
if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => 'Left Sidebar', 'before_widget' => '<ul id="featuresmenu">', 'after_widget' => '</ul>', 'before_title' => '<li><h3>', 'after_title' => '</h3></li>', ));
Thanks in advance for your help
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change li class for Widgets’ is closed to new replies.