I trying change the background color of a div in one of my templates. it works with the approved color properties, but when i use this the line @inherits Umbraco.Web.Mvc.UmbracoTemplatePage is written on my page, i think it conflicts with my code, or my code conflict with this
Color on div with approved color properties
Hi
I trying change the background color of a div in one of my templates. it works with the approved color properties, but when i use this the line
@inherits Umbraco.Web.Mvc.UmbracoTemplatePageis written on my page, i think it conflicts with my code, or my code conflict with thismy code is
What version of Umbraco are you using?
I think it seems you are tring to combine two types of templates (Master page and MVC).
If using MVC templates you should be able to do this:
Does that work?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.