p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=560)
-   -   Chapter 6: Adding a theme to web.config file (http://p2p.wrox.com/showthread.php?t=98947)

fajersal May 24th, 2016 08:45 PM

Chapter 6: Adding a theme to web.config file
 
Hello,

I am learning asp.net and following precisely the do it yourself, but I am stuck at this one. It says to create a folder app_theme, drag the styles.css inside change its name to match the theme which is Monochrome and then delete the old style link from the master page.

At the end we should go to the web.config file and add the theme as follow:
<pages theme="Monochrome"><pages/>

However, After doing all and refreshing my default page my theme does not appear, like there is something that does not work. The page is blank without any theme at all.

Any help will be appreciated.

Imar May 31st, 2016 09:08 AM

Hi there,

When you look at the browser's source, do you see a link tot the Monochrome theme? Maybe the link is there but the CSS isn't applied?

Also, take a look at the Themes folder in Visual Studio. Does the Monochrome theme's folder contain your CSS files?

Imar

philipjb April 27th, 2019 10:27 PM

Hi Imar
I am currently working through Beginning Asp.Net 4.5.1 in C# and VB. But cannot find a specific thread for that book. Can I post questions to this. Having a problem with Chapter Six Themes however this is fixed by your answer regarding removing the Monochrome ref is web.config however the darkgrey them is not centered. Should be able to fix that for myself in the CSS file.

By the way, I don't know why I didn't upgrade from classic asp sooner. Enjoying the study with your help.

Yours
Philip Bailey

philipjb April 27th, 2019 10:38 PM

Quote:

Originally Posted by philipjb (Post 310980)
Hi Imar
I am currently working through Beginning Asp.Net 4.5.1 in C# and VB. But cannot find a specific thread for that book. Can I post questions to this. Having a problem with Chapter Six Themes however this is fixed by your answer regarding removing the Monochrome ref is web.config however the darkgrey them is not centered. Should be able to fix that for myself in the CSS file.

By the way, I don't know why I didn't upgrade from classic asp sooner. Enjoying the study with your help.

Yours
Philip Bailey

Hi Again,
It's Late and Have just found the right thread (4.5.1) Will post here is future.
Philip

Imar April 28th, 2019 03:34 PM

>> It's Late and Have just found the right thread (4.5.1) Will post here is future.

Sounds great!


All times are GMT -4. The time now is 05:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.