0

I'm rendering three columns, each containing a CQWP. Each CQWP will utilize a different item template to render the contents, however, I need to add an additional class rule along-side cqwp-layout-main, according to our designer / html editor.

I know that this gets rendered in the OuterTemplate in the ContentQueryMain xsl, but I cannot seem to regulate the rendering based on template name, for exampe @Style='CaseStudies'.

Is there a way that I can achieve this?

1

You cannot add additional classes to the cqwp-layout-main as it's not rendered through the XSLT.

The closest you can get is the dfwp-list from the LevelStyle.xsl which renderes the "columns" in the Content Query Web Parts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.