Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 23rd, 2013, 05:11 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Where do I got to change the fonts??

I am having fun playing around with your website and I have been adding new things, but I would like to know where I can go to add the new fonts for the H1 and other text that appears in Content placement section. On the Visual Studio tool bar I see that you can change the color, the size, you make it italic, you can do all kinds of neat things, but how do you change the fonts from Arial to Bookman or some other type of font. I can't see to find the available fonts list on the Visual Studio toolbar anywhere.
You know that in Dreamweaver you select just about any text you want and and you can see a list of fonts in the properties section at the bottom of the Integrated development environment or you can change them on the tool bar but on Visual Studio, I don't see that on the toolbar like you do on DreamWeaver. I guess Dreamweaver has a leg up on Visual Studio 2012 in that regard. I guess what I am asking is can you apply different types of fonts for the content that is in the markup section of the application.

Thanks :-)

Having lots and lots of fun playing around and getting to know your application.

Last edited by vbboyd; May 23rd, 2013 at 05:21 PM..
Reply With Quote
  #2 (permalink)  
Old May 24th, 2013, 03:14 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

You change fonts in the CSS files directly. Take a look at the themes' files to see what I mean. You'll see something like this:

Code:
*
{
  /* 
    Defines the main font used throughout the entire site.
  */
  font-family: Arial, Sans-Serif;
}
Just assign a different font to the font-family property. In this example, the Universal selector (*) is used but you can use font-family in other selectors as well.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the fonts used for all the text? Is it through Masterpage krahman01 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 April 18th, 2010 05:51 PM
Using Postscript fonts in treeview? janama Pro Visual Basic 2005 0 July 3rd, 2008 01:31 AM
Wordml fonts johnlaw83 XSLT 1 June 19th, 2007 09:39 AM
Word has no Fonts BrianWren Word VBA 1 September 8th, 2006 12:33 PM
Iterating Fonts Ron Howerton Visual Basic 2005 Basics 9 May 31st, 2006 07:15 PM



All times are GMT -4. The time now is 03:36 PM.


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