Sidebar - offset item list

Hi,

what’s the best practice to offset just the item-List in a sidebar. I try this (jQuery supported) code:

$('div.dhxsidebar_side_items', objSidebar.cell).css({top: '20px'});

It works, but it changed automatic back (top:0px).

Thx
Dirk

Hi

Please try the following

.dhxsidebar_base_dhx_web div.dhxsidebar_cont div.dhxsidebar_side div.dhxsidebar_side_items div.dhxsidebar_item:first-child { margin-top: 20px; }

this work - tanks!