COS Documentation

Search HubSpot Designers Site

Getting to know the COS Template Builder

The HubSpot Template Builder uses a 12 column grid system based on Bootstrap 2.x to allow template designers to quickly build fully responsive webpages within the HubSpot content platform. Templates built in the template builder have the advantage of being fully editable by end users with no coding skills required. The following documentation provides a basic overview of the structure and classes that are available for designers to build and style against using CSS and JS.

Layout Example

Class Map

 

 


Full Code Output

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="author" content="company">
<meta name="description" content="None">
<meta name="generator" content="HubSpot">
<title></title>
<link rel="shortcut icon" href="http://cdn1.hubspot.com/hub/151035/vanilla.jpg" />




<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">hsjQuery = window['jQuery']</script>
<link href="https://static.hsappstatic.net/content_shared_assets/static-1.3156/css/public_common.css" rel="stylesheet" >
<meta property="og:description" content="">
<meta property="og:title" content="">
<meta name="twitter:description" content="">
<meta name="twitter:title" content="">
<link rel="canonical" href="http://hs.domain.com/cd21d08a-20ac-4872-bcea-fc726758b733" />
















<!--[if lt IE 9]>
 <script src="//css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
 <![endif]-->
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://s3.amazonaws.com/cdn1.hubspot.com/hub/-1/hub_generated/style_manager/1374092111237/hubspot_default/landing_page/Base/style_manager_base.min.css" />
<link rel="stylesheet" href="https://s3.amazonaws.com/cdn1.hubspot.com/styles-builtin/2269689999/hubspot-default-counter-top.min.css" />
</head>
<body class="">
<div class="header-container-wrapper">
<div class="header-container container-fluid">
<div class="row-fluid-wrapper row-depth-1 row-number-1">
<div class="row-fluid">
<div class="span12 widget-span widget-type-logo" data-widget-type="logo" data-x="0" data-w="12">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_logo" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_logo" data-hs-cos-general-type="widget" data-hs-cos-type="logo"><a href="http://google.com" id="hs-link-logo" style="border-width:0px;border:0px;"><img src="http://cdn1.hubspot.com/hub/151035/hubspot.png" class="hs-image-widget" style="height:50px;width:136px;border-width:0px;border:0px;" width="136" height="50" alt="hubspot" title="hubspot"></a></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->




</div><!--end header -->
</div><!--end header wrapper -->




<div class="body-container-wrapper">
<div class="body-container container-fluid">




<div class="row-fluid-wrapper row-depth-1 row-number-1">
<div class="row-fluid">
<div class="span12 widget-span widget-type-cell" data-widget-type="cell" data-x="0" data-w="12">




<div class="row-fluid-wrapper row-depth-1 row-number-2">
<div class="row-fluid">
<div class="span12 widget-span widget-type-section_header" data-widget-type="section_header" data-x="0" data-w="12">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_section_header" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_section_header" data-hs-cos-general-type="widget" data-hs-cos-type="section_header"><div class="page-header section-header">
<h1>Inbound Marketing</h1>
<p class="secondary-header"><span id="hs_cos_wrapper_subheader" class="section-subheader">Will take you to new ground</span></p></div></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->
<div class="row-fluid-wrapper row-depth-1 row-number-3">
<div class="row-fluid">
<div class="span6 widget-span widget-type-rich_text" data-widget-type="rich_text" data-x="0" data-w="6">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_left_column" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_rich_text" data-hs-cos-general-type="widget" data-hs-cos-type="rich_text"><h2>Something Powerful</h2>
<h3>Tell The Reader More</h3>
<p>The headline and subheader tells us what you're <a href="#">offering</a>, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.</p>
<p>Remember:</p>
<ul>
<li>Bullets are great</li>
<li>For spelling out <a href="#">benefits</a> and</li>
<li>Turning visitors into leads.</li>
</ul></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
<div class="span6 widget-span widget-type-form" data-widget-type="form" data-x="6" data-w="6">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_module_13748634265922704" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_form" data-hs-cos-general-type="widget" data-hs-cos-type="form"><h3 id="hs_cos_wrapper_module_13748634265922704_title" class="hs_cos_wrapper form-title" data-hs-cos-general-type="widget_field" data-hs-cos-type="text"></h3>
<form class="hs-form stacked">
<div class="field hs-form-field">
<label>First Name</label>
<div class="input">
<input class="hs-input" type="text">
</div>
</div>
<div class="field hs-form-field">
<label>Last Name</label>
<div class="input">
<input class="hs-input" type="text">
</div>
</div>
<div class="field hs-form-field">
<label>Company</label>
<div class="input">
<input class="hs-input" type="text">
</div>
</div>
<div class="field hs-form-field">
<label>Email</label>
<div class="input">
<input class="hs-input" type="text">
</div>
</div>
<a class="hs-button large primary" href="#">Get Free Widget</a>
</form>
</span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->
<div class="row-fluid-wrapper row-depth-0 row-number-1">
<div class="row-fluid">
<div class="span3 widget-span widget-type-linked_image" data-widget-type="linked_image" data-x="0" data-w="3">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_module_13748633210801835" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_linked_image" data-hs-cos-general-type="widget" data-hs-cos-type="linked_image"><img src="//static.hubspot.com/final/img/content/email-template-images/placeholder_200x200.png" class="hs-image-widget" style="border-width:0px;border:0px;" alt="" title=""></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
<div class="span3 widget-span widget-type-linked_image" data-widget-type="linked_image" data-x="3" data-w="3">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_module_13748633297642052" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_linked_image" data-hs-cos-general-type="widget" data-hs-cos-type="linked_image"><img src="//static.hubspot.com/final/img/content/email-template-images/placeholder_200x200.png" class="hs-image-widget" style="border-width:0px;border:0px;" alt="" title=""></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
<div class="span3 widget-span widget-type-linked_image" data-widget-type="linked_image" data-x="6" data-w="3">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_module_13748633354832269" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_linked_image" data-hs-cos-general-type="widget" data-hs-cos-type="linked_image"><img src="//static.hubspot.com/final/img/content/email-template-images/placeholder_200x200.png" class="hs-image-widget" style="border-width:0px;border:0px;" alt="" title=""></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
<div class="span3 widget-span widget-type-linked_image" data-widget-type="linked_image" data-x="9" data-w="3">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_module_13748633417052486" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_linked_image" data-hs-cos-general-type="widget" data-hs-cos-type="linked_image"><img src="//static.hubspot.com/final/img/content/email-template-images/placeholder_200x200.png" class="hs-image-widget" style="border-width:0px;border:0px;" alt="" title=""></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->
<div class="row-fluid-wrapper row-depth-0 row-number-2">
<div class="row-fluid">
<div class="span12 widget-span widget-type-social_sharing" data-widget-type="social_sharing" data-x="0" data-w="12">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_social_sharing" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_social_sharing" data-hs-cos-general-type="widget" data-hs-cos-type="social_sharing"><a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Dfacebook" target="_blank" style="width:24px;border-width:0px;border:0px;"><img src="https://static.hubspot.com/final/img/common/icons/social/facebook-24x24.png" class="hs-image-widget" style="height:24px;width:24px;border-width:0px;border:0px;" width="24" height="24" hspace="0" alt="Share on Facebook"></a>&nbsp;<a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin" target="_blank" style="width:24px;border-width:0px;border:0px;"><img src="https://static.hubspot.com/final/img/common/icons/social/linkedin-24x24.png" class="hs-image-widget" style="height:24px;width:24px;border-width:0px;border:0px;" width="24" height="24" hspace="0" alt="Share on LinkedIn"></a>&nbsp;<a href="https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=" target="_blank" style="width:24px;border-width:0px;border:0px;"><img src="https://static.hubspot.com/final/img/common/icons/social/twitter-24x24.png" class="hs-image-widget" style="height:24px;width:24px;border-width:0px;border:0px;" width="24" height="24" hspace="0" alt="Share on Twitter"></a>&nbsp;<a href="https://plus.google.com/share?url=http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Dgoogle_plus" target="_blank" style="width:24px;border-width:0px;border:0px;"><img src="https://static.hubspot.com/final/img/common/icons/social/googleplus-24x24.png" class="hs-image-widget" style="height:24px;width:24px;border-width:0px;border:0px;" width="24" height="24" hspace="0" alt="Share on Google+"></a>&nbsp;<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Dpinterest&media=" target="_blank" style="width:24px;border-width:0px;border:0px;"><img src="https://static.hubspot.com/final/img/common/icons/social/pinterest-24x24.png" class="hs-image-widget" style="height:24px;width:24px;border-width:0px;border:0px;" width="24" height="24" hspace="0" alt="Share on Pinterest"></a>&nbsp;<a href="mailto:?subject=Check out http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Demail &body=Check out http%3A%2F%2Fhs.domain.com%2Fcd21d08a-20ac-4872-bcea-fc726758b733%3Futm_medium%3Dsocial%26utm_source%3Demail" target="_blank" style="width:24px;border-width:0px;border:0px;"><img src="https://static.hubspot.com/final/img/common/icons/social/email-24x24.png" class="hs-image-widget" style="height:24px;width:24px;border-width:0px;border:0px;" width="24" height="24" hspace="0" alt="Share on Email"></a></span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->




</div><!--end body -->
</div><!--end body wrapper -->




<div class="footer-container-wrapper">
<div class="footer-container container-fluid">




<div class="row-fluid-wrapper row-depth-1 row-number-1">
<div class="row-fluid">
<div class="span12 widget-span widget-type-page_footer" data-widget-type="page_footer" data-x="0" data-w="12">
<div class="cell-wrapper layout-widget-wrapper">
<span id="hs_cos_wrapper_page_footer" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_page_footer" data-hs-cos-general-type="widget" data-hs-cos-type="page_footer">
<footer>
<span class="hs-footer-company-copyright">&copy; 2013 company</span>
</footer>
</span>
</div><!--end layout-widget-wrapper -->
</div><!--end widget-span -->
</div><!--end row-->
</div><!--end row-wrapper -->




</div><!--end footer -->
</div><!--end footer wrapper -->












<script type="text/javascript" src="https://static.hsappstatic.net/content_shared_assets/static-1.3156/js/public_common.js"></script>












<script type="text/javascript">
var hsVars = {
ticks: 1374865775079,
page_id: 0,
content_group_id: 0,
portal_id: 151035,
app_hs_base_url: "https://app.hubspot.com"
}
</script>
















<!-- Generated by the HubSpot Template Builder - template version 1.03 -->
</body>
</html>