I have created a new custom section called "SingleColumnSection" When I go on the Kentico UI's page builder to add it, it gets added but the blue plus sign in the middle is locked. Meaning, I can't click on the plus sign to add a widget.
Here is the code for the section:
@using Kentico.PageBuilder.Web.Mvc @using Kentico.Web.Mvc <section class="section section--padded"> <div class="section-inner"> @Html.Kentico().WidgetZone() </div> </section>
using AE.Web.Gwic.Controllers.Sections; using Kentico.PageBuilder.Web.Mvc; using System.Web.Mvc; [assembly: RegisterSection("GWIC.SingleColumnSection", typeof(SingleColumnSectionController), "Single Column", Description = "1 Column with Padding", IconClass = " icon-square")] namespace AE.Web.Gwic.Controllers.Sections { public class SingleColumnSectionController : SectionController { // GET: Single public ActionResult Index() { return PartialView("Sections/_SingleColumnSection"); } } }
How can I unlock the section to be able to add widgets in it?
Hi Hosam,
One of the reasons could be you CSS for this section. Check this in the dev console, there could be something transparent that is displayed above the plus button and prevents it from clicking.
Please, sign in to be able to submit a new answer.