How do you wrap a projection in custom html?

Topics: General, Writing themes
Nov 18, 2014 at 11:25 AM

I have created a content type called CaseStudy and given it a field called HomepageLogo.

I want the logos to appear on the homepage. To do this I have added a Projection Widget into my AfterContent zone and onto to the homepage layer within widgets with a query to get me X amount of case studies to display.

Within my query I have the Raw layout selected with the wrapper container tag of "P" and class "logos".

What I am now needing is this wrapper to wrap everything
<div class="outer home-case-studies"> <div class="inner"> {logos in here} </div> </div> When I put the above wrapper in Content-CaseStudy.HomepageSummary.cshtml I get the wrapper repeated many times over and there doesn't seem to be an alternate available to me "one level higher".

Any help would be greatly appreciated

Nov 18, 2014 at 1:58 PM