Customizing web part layout |
Kentico CMS comes with many built-in web parts. The concept of web part layouts allows you to customize the look of the web part by defining a custom HTML layout. So the web part layout is basically a custom skin for the web part.
Example: Customizing Newsletter subscription dialog
In this example, we will customize the newsletter subscription dialog layout. The standard layout looks like this:
Go to CMS Desk -> Content and navigate to the Home page (if you're using the sample Corporate Site). Switch to the Design tab and configure the Newsletter subscription web part. Click the Layout tab and choose (New) from the drop-down list. Enter the following values: Enter the following HTML code:
Click OK. When you look at the page now, you will see a dialog like this:
|