diff --git a/Bootstrap.Admin/Content/css/site.css b/Bootstrap.Admin/Content/css/site.css index 93d37ae6..483d6fb3 100644 --- a/Bootstrap.Admin/Content/css/site.css +++ b/Bootstrap.Admin/Content/css/site.css @@ -548,7 +548,6 @@ ul.breadcrumb { bottom: 40px; right: 0; top: 94px; - background-image: url('../images/bg.jpg'); overflow: hidden; } @@ -557,3 +556,8 @@ ul.breadcrumb { height: 100%; border: none; } + +.welcome-bg { + background-image: url('../images/bg.jpg'); + background-size: 100% 100%; +} diff --git a/Bootstrap.Admin/Scripts/well.js b/Bootstrap.Admin/Scripts/well.js index 568a3e26..c7f08067 100644 --- a/Bootstrap.Admin/Scripts/well.js +++ b/Bootstrap.Admin/Scripts/well.js @@ -1,5 +1,5 @@ $(function () { - $('#main-content').css('backgroundImage', 'url("../content/images/bg.jpg")'); + $('#main-content').addClass('welcome-bg'); function resposive() { var height = $(window).height(); if (height > 672) diff --git a/Bootstrap.Admin/Views/Home/Index.cshtml b/Bootstrap.Admin/Views/Home/Index.cshtml index c47247e5..71ab1e94 100644 --- a/Bootstrap.Admin/Views/Home/Index.cshtml +++ b/Bootstrap.Admin/Views/Home/Index.cshtml @@ -9,5 +9,5 @@ @section header { @Html.Partial("Header", Model) } -
+
\ No newline at end of file