Try our conversational search powered by Generative AI!

Adding a h1 heading property


Hi guys


I want to add a heading property to to the [Demo] StartPage template which will become the h1 of the page. I have added a new property called heading to the template but what do I need to change to the DefaultDemo.aspx page? Is it necessary to add a content placeholder to the master page?

May 11, 2011 16:29


Add this to a suitable place in the DefaultDemo.aspx

    <h1><EPiServer:Property runat="server" PropertyName="heading" /></h1>
May 11, 2011 21:43

Thanks Henrik, One more question. When I added this property It took a long time to actually appear on the site and when I comment it out it takes a long time to disappear aswell why might this be?

May 12, 2011 11:26


I guess this is a browser caching issue. Try reloading your page with CTRL + F5 after you have modified your markup code or css.

May 12, 2011 11:29

I'd say it's probably the web server output cache and/or the JIT compiler which doesn't immediately recompile the aspx.

May 12, 2011 11:45

Thanks It seems to reload if I visit the start page first.

May 12, 2011 12:07
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.