fontsquirrel.com converting typefaces for @font-face


There are a number of formats for typefaces available which are used within @font-face. Typically, you may only have a typeface in one format, such as TrueType or OpenType. To provide as much support for your choice of typeface as possible in your Magento store, you will want to convert to a range of formats.

There are a number of online @font-face conversion tools that generate the necessary CSS and typeface files for you, including Font Squirrel’s FontFace Generator (http://www.fontsquirrel.com/fontface/generator).

@font-face support across browsers
There is surprisingly good support for @font-face across even older browsers.

EOT: Internet Explorer
The EOT (Embedded Open Type) format typefaces are supported in all versions of Internet Explorer.

TTF: Safari, Opera, Chrome, and Firefox
Safari version 3.2 onwards, Opera version 10 onwards, Firefox version 3.5 onwards, and all versions of Chrome support the TTF (TrueType Format) for typefaces in @font-face.

OTF: Safari, Opera, Chrome, and Firefox
Similarly to the TrueType Format, OTF (OpenType Format) is supported by Safari version 3.2 onwards, Opera version 10 onwards, Firefox version 3.5 onwards, and all versions of Chrome support the TTF (TrueType Format) for typefaces in @font-face.

SVG: iPhone and Chrome
The SVG (Scalable Vector Graphics format) is supported by the iPhone and Chrome browsers. SVG font files are specially formatted .svg files that contain vector graphics for each glyph and character of the typeface it represents, allowing for easy scalability.

WOFF: Firefox
The WOFF (Web Open Font Format) is currently supported by Firefox, but is in the process of becoming a standard for font formats across all major browsers, including those by Opera, Microsoft, and Mozilla.

CSS for @font-face
The CSS for using the @font-face attribute is relatively simple. In your new theme’s local.css file (in the /skin/frontend/default/m2/css directory), add the @ font-face  CSS at the top of the file:

@font-face {
font-family: ‘FranchiseRegular’;
src: url(‘../types/franchise-webfont.eot’);
src: local(‘?’), url(‘../types/franchise-webfont. woff’) format(‘woff’), url(‘../types/franchise-webfont. ttf’) format(‘truetype’), url(‘../types/franchise-webfont. svg#webfontgvcdROVT’) format(‘svg’);
font-weight: normal;
font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
font-family: FranchiseRegular, sans-serif;
}

Advertisements

Useful handles in Magento


Some useful layout handles in Magento—the identifiers which allow you to single out a particular page or section of your Magento store are as follows:

XML handle  Page it identifies in Magento  XML layout file the XML handle is referenced in 
catalog_category_default  The default view for a category of products.  catalog.xml 
customer_account  The customer account page, shown when a customer is logged in to their account on your store.  customer.xml 
catalog_product_view  The product page view (that is, a page which displays an individual product).  catalog.xml 
cms_page  Pages created with Magento’s content management system.  cms.xml 
checkout_cart_index  The checkout’s ‘index’ (that is, default) view  checkout.xml 
cms_index_defaultnoroute  The default error page for the 404 ‘not found’ error  cms.xml 
cms_index_defaultindex  The homepage of your Magento store  cms.xml 

New webdesign trends


Infinvision

Poundandgrain

Brizk

Continue reading

jQuery Banner Rotator with Customize Effects


This is a jQuery banner rotator plugin featuring multiple transitions. The thumbnails and buttons allow for easy navigation of your banners. The banner rotator is also re-sizable and configurable through the plugin’s parameters and stylesheet.

Click Here for Demo : http://s3.envato.com/files/1617631/index.html

2011 Japanese Earthquake and Tsunami



An aerial view shows tsunami damage and flooding in Natori city in Miyagi Prefecture on Saturday. More than 1,000 people were feared dead after a monster tsunami was unleashed by a magnitude 8.9 quake. Continue reading

Best CSS Designs On the Web


CSS Gallery Showcasing the Best CSS Designs On the Web

www.jameinkind.de
We specialize in web design and development of professional online stores and help you succeed in eCommerce. More Info.
 
 
www.marcodeliso.it
The WAR for creativity has begun. Choose your hero and fight for the win. More Info. www.marcodeliso.it
 
 
www.mment.at
Matthias Mentasti. codewizard, designguru, blogger & Twitterer. Matthias Mentasti. age 23; gender evil country Austria; coordinates 48 ° 3 ‘N, 16 ° 6′ O. More Info. www.mment.at
 
 
maratonamakeover.ig.com.br
Marathon Makeover. iG. See how easy it is to participate: 1. Access the tool iG Makeover, complete the registration and choose your picture. More Info. maratonamakeover.ig.com.br
 
 

MOO Business Cards Gallery


Continue reading