Design and CSS styles
Version 3.x > Design and CSS styles > Text Region in the Master Page View modes: 
User avatar
Member
Member
jwhelan-jcwhelan - 11/25/2008 2:21:29 PM
   
Text Region in the Master Page
We are new to Kentico and want to have a text region in our master page that we can edit on a page per page basis, in fact if we could display the meta-description text in that region it would be great, but just a text part. How do I create an editable section in the master page that can change from page to page?

Below is our code for creating a static message in the master page header, but we want to change the wording.

Pleas help.

Here is how we added it in the master page body section:

<div class="zoneMessage">
<cc1:CMSWebPartZone ID="zoneMessage" runat="server" />
</div>

Here is our CSS code:

.zoneMessage
{
float: left;
margin: 110px 0 0 340px;
width: 320px;
font-size: 16px;
font-weight: bold;
text-align: center;
color: #ffffff;
line-height: 20px;
}


User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 11/26/2008 5:34:05 AM
   
RE:Text Region in the Master Page
Hello,

could you please tell us if you use a Portal engine or ASPX templates?

Thank you.

Best regards,
Helena Grulichova

User avatar
Member
Member
jwhelan-jcwhelan - 11/26/2008 5:46:40 AM
   
RE:Text Region in the Master Page
Currently we use the default corporate website with the portal engine as our beginning template (We delete the pages we will not be using).

User avatar
Member
Member
jwhelan-jcwhelan - 11/26/2008 7:24:50 AM
   
RE:Text Region in the Master Page
Currently we use the default corporate website with the portal engine as our beginning template (We delete the pages we will not be using).

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 11/27/2008 3:22:34 AM
   
RE:Text Region in the Master Page
Hello,

Thank you for your additional information.

The only way I may imagine is to add an Editable text web part on all used page templates in:

CMSSiteManager -> Development -> Page templates

Best regards,
Helena Grulichova