Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8955875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:39:12+00:00 2026-06-15T14:39:12+00:00

I am new to MVC4 and Bundling concepts. For me CSS file is loading

  • 0

I am new to MVC4 and Bundling concepts. For me CSS file is loading properly , but the images specified in it not loaading and it shows 404 exception for it.

My CSS folder structure is: ~\Content\css\CustomCss\green.css

Images for CSS folder structure : Content\css\Customcss\Images\green.png

But while checking in net panel of Firebug, it shows the path for images as : /Content/css/CustomCSS/Content/css/Customcss/Images/Greenish.png

I don’t know how this bundling refers images in CSS.

BundleConfig.cs:

 bundles.Add(new StyleBundle("~/Content/css/CustomCss/css").Include("~/Content/css/CustomCss/Syncfusion-Grid-Greenish.css"));

Layout.cshtml:

 @Styles.Render(" ~/Content/css/CustomCSS/css")     

Suggest me any ideas.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:39:14+00:00Added an answer on June 15, 2026 at 2:39 pm

    Finally got the answer after a small struggle.

    I just replaced the image url as ‘ images/Greenish_sprite.png ‘ instead of ‘Content/css/Customcss/images/Greenish_sprite.png’.

    It is working well now 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use MVC4's new bundling and minification. For IE conditional comments,
I am new to C#, MVC4, ASP.NET, Entity Framework. I have an XML file
I'm using the new Bundling feature in ASP.NET MVC4. Currently I have the following
If you create a new MVC4 web application with the Internet Application Project Template
In ASP.net MVC4 there's this 'new' concept of a web API for exposing CRUD
I've created a method using the new WebAPI features in MVC4 and have it
I am trying to use the JsonArray class in a new empty asp.net mvc4
I noticed when the MVC4 beta was announced, it includes a new Web-API .
I have a ASP.NET MVC4 web api that uses fluent NHibernate, but when I
I have started working recently with the new .net feature of bundling and minification

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.