Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 23rd, 2013, 05:11 PM
Friend of Wrox
 
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..
 
Old May 24th, 2013, 03:14 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!





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





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