FroggEye wrote: You have this backwards. Widgets are extensions of webparts that offer LESS options that the webpart has.
Hm. OK, I'll rethink this. This is as it was explained to me by our Kentico expert. Maybe I misunderstood.
FroggEye wrote: Have you looked in the documentation regarding templates, layouts, webpart zones, etc? If not, here is what you will want to do.
First setup is your layout. I suggest using shared layouts if you plan to have the same structure across your website. Even if you have a few different layouts (full page, 2 columns, 3 columns, etc) I'd use shared layouts, much easier to manage. In your layout you have HTML and webpart zones. So in your case it would be your three sections with three webpart zones.
<div>
<div class="full-green-bg">
<cms:CMSWebPartZone ZoneID="zSec1" runat="server" />
</div>
<div>
<cms:CMSWebPartZone ZoneID="zSec2" runat="server" />
</div>
<div>
<cms:CMSWebPartZone ZoneID="zSec3" runat="server" />
</div>
</div>
From there you create a template and select the layout you just created. In the design tab on the template is where you add your webparts. These are tied to the template. So if your template is used on many pages and you make a change to the template, all those pages will see the same change.
Does this make sense?
Good luck
Brenden
It mostly makes sense. It's the details that elude me.
I've made three zones, and am concentrating on the first one. Easy enough to put an editable image in there, but I want that section to have a background image - and it should have 0 margin, i.e. it should bleed right to left/right and top/bottom edges.
What I cannot seem to do is insert a class name so that I can target it with CSS.
I've tried adding a zone title, a container title, a container CSS class, container content, and an HTML envelope, none of which add a class to the zone. (You can see my 3 zones below, which K has called main-inner.)
So, how can I
a] put a background image in zonesec1, and
b] target CSS to each zone individually?
<div class="main" role="main">
<div class="wrap main-inner">
<div class="box box_shadow"><div class="jaz">
<img id="plc_lt_zoneMaster_pageplaceholder_pageplaceholder_lt_zoneSec1_EditableImage1_imgImage" src="/MarketWire/media/4.0_Resources/test_event_fg.png" alt="" style="border-width:0px;">
</div>
</div>
<div class="wrap main-inner">
</div>
<div class="wrap main-inner">
</div>
</div>