Grid in bar-subheader doesn't work



i’m trying to insert a grid with two columns in the bar-subheader.

But with this syntax doesn’t work:

<div class="bar bar-subheader">
    <div class="row">
        <div class="col-70">
            <h2 class="">sub-title1</h2>
        <div class="col-30">
            <h2 class="">sub-title2</h2>

Does anyone know why?



I believe you need to include the “col” class on the child divs of the row.

<ion-view view-title="Search">
	<div class="bar bar-header bar-positive">
  <h1 class="title">Header</h1>
<div class="bar bar-subheader bar-assertive">
  <div class="row">
  	<div class="col col-70">
  	<div class="col col-20">


Works here


Thanks to all for the support.

Looking deep in the problem using the siddartha’s example, i realized that in ionic.css .col-70 and .col-30 don’t exist.

I think that the documentation could create a little bit of confusion because in the Grid: Explicit Column Sizes section says:

An advantage with this grid system is that you only have to state the percentage for the column that needs it, and the others will still evenly divide up the available areas.

But in the ionic.css there aren’t all the decimal percentages.