Adding widget IDs to a theme

I’ve implemented the Centita theme on this site.

How can I assign an ID to the individual widgets’s sidebox-top and sidebox? The problem is that on that page, I wanted to hide the top widget so I put #cforms-3 {display:none;} into the CSS which did hide the middle part of the widget, but it left the sidebox and sidebox top because there’s no ID i can attribute to those.

These are the two files that I’m assuming drive the widget code…

…but I don’t know what to do to them to assign an ID to each widget area.

Please advise. Thanks in advance.

You can place a specific widget area anywhere you want in a layout/theme/theme files with this:

<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Widget Area Name') ) : ?>
   <!-- this is for the "Widget Area Name" widget -->
<?php endif; ?>

“Widget Area Name” being the name of the widget.

Hope this helps to answer your question? If I’m way off track with what you are asking posts again and I will try harder to understand. :slight_smile:

great. thank you!