Note that there are some explanatory texts on larger screens.

plurals
  1. POOther CSSs being picked up
    primarykey
    data
    text
    <p>i'm having an issue trying to implement bootstrap into our ASP.NET Web Forms (VB) project. We have decided to implement this change one page at a time so we are needing to run 2 master pages at the same time. One master page w/ bootstrap, the other will have our original CSS settings. Eventually all pages will be converted to the bootstrap master page, once they are checked to make sure they are displaying correctly. </p> <p>The issue... is when I run a page w/ the bootstrap master page, some how, the original CSS is being picked up (by IIS, or something) and is messing everything up. The original CSS is NOT in the bootstrap master page. Moreover, when I rename the original CSS page it still being picked up. I need to know how I can either place the original CSS so it doesn't affect the bootstrap master page, or some how make it so its not being picked up. </p> <p>I feel like this may be a duplicate question (as i can't believe i'm the only one with this issue), but I couldn't find it any place which might be because i'm not sure how to word the question. </p> <p>Please help if you can!</p> <p>Thanks</p> <p><strong>EDIT</strong></p> <p>This is happening both ways. So my bootstrap CSS is being auto-magically imported into my original master page.... and my original CSS is being auto-magically imported into my bootstrap master page. EVEN THOU NEITHER HAVE THE REFERENCE. </p> <p>Also, i tried to add the reference to each myself, in order of preference, and something, somewhere even over-rides that. </p> <p><strong>EDIT 2</strong></p> <p>yes, i removed the default theme in the web.config. I have even put the themes in in the @PAGE tag it still bring in the other CSSs. </p> <pre><code>&lt;%@ Page Language="VB" MasterPageFile="App_Master/bootCerulean.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" title="Home" StylesheetTheme="bootCerulean" Theme="bootCerulean" %&gt; </code></pre> <p>This is new... I have 4 child folders in my "App_Themes" folder, and the page that is connected to one, IS NOT brining in the other CSSs. The only differences in the pages &amp; was the @Page Theme attribute. I added it (above), and still no go... </p> <p><strong>EDIT 3</strong></p> <p>when i REMOVE ALL REFERENCES to ANY CSS in my master page, and add the @Page Theme attribute, it only brings in items for the theme i'm using. This is an ok solution for now. </p> <p>But i want to know WHY/HOW this auto import of themes work. Also there isn't a "THEME" setting on a master page level, or is there? </p> <p>That would solve the issue right there!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload