The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: October 8th 2015
- Original post
| <style type="text/css"> | |
| /* Based on The MailChimp Reset INLINE: Yes. */ | |
| /* Client-specific Styles */ | |
| body { | |
| width:100% !important; | |
| -webkit-text-size-adjust:100%; | |
| -ms-text-size-adjust:100%; | |
| margin:0; | |
| padding:0; | |
| } |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" {if #is_rtl} dir="rtl" {/if} > | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>{#subject|default:Wysija template}</title> | |
| {#css} | |
| </head> | |
| <body bgcolor="{#styles.html.background|color}" yahoo="fix"> | |
| <span style="margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;display:block;background:{#styles.html.background|color};"> |
| <?php | |
| //* Add class to .site-container | |
| add_filter('genesis_attr_site-container', 'jive_attributes_st_container'); | |
| function jive_attributes_st_container($attributes) { | |
| $attributes['class'] .= ' st-container'; | |
| return $attributes; | |
| } | |
| //* Add class to .site-inner |
| /* normal flexbox */ | |
| .flexbox .flex-container { | |
| display: -webkit-flex; | |
| display: -moz-flex; | |
| display: -ms-flex; | |
| display: flex; | |
| } | |
| .flexbox .flex-container.vertical { | |
| display: -webkit-flex; | |
| display: -moz-flex; |
| <?php | |
| // For Genesis 2.0.0 and later: | |
| add_filter( 'genesis_superfish_args_url', 'prefix_superfish_args_url' ); | |
| /** | |
| * Filter in URL for custom Superfish arguments. | |
| * | |
| * @author Gary Jones | |
| * @link http://code.garyjones.co.uk/change-superfish-arguments |