# Modify Toolbar text size

**URL:** <https://forum.ionicframework.com/t/modify-toolbar-text-size/69311>\
**Category:** ionic-v3\
**Created:** [November 6, 2016, 2:41am UTC](https://forum.ionicframework.com/t/modify-toolbar-text-size/69311 "2016-11-06T02:41:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajsivsan](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ajsivsan](https://forum.ionicframework.com/u/ajsivsan)\
**Post date:** [November 6, 2016, 2:41am UTC](https://forum.ionicframework.com/t/modify-toolbar-text-size/69311/1 "2016-11-06T02:41:42Z")

</div>

Hi,

I am new to Ionic 2 framework. I really like it the way it is but as per one of the requirement, i need to have a header and a subheader in the section. The first title should be smaller and the second title should be large.

heading1 - font size 10  
Heading2 - font size 20

Here is how my code looks like

> ```
> > <ion-header>
> > <ion-toolbar [color]="themeColor">
> > <ion-title text-center>
> > <svg width="30" height="5">
> > <line x1="0" y1="0" x2="30" y2="0" style="stroke:rgb(255,255,255);stroke-width:2" />
> > </svg>
> > {{pageTitle1}}
> > <svg width="30" height="5">
> > <line x1="0" y1="0" x2="30" y2="0" style="stroke:rgb(255,255,255);stroke-width:2" />
> > </svg>
> > </ion-title>
> > </ion-toolbar>
> > <ion-navbar [color]="themeColor">
> > <ion-title class="list-title">{{pageTitle2}}</ion-title>
> > </ion-navbar>
> > </ion-header>
> 
> ```

I tried setting up the variables.scss with the below variables but no effect.  
$navbar-ios-height: 10rem;  
$navbar-md-height: 10rem;  
$navbar-wp-height: 10rem;  
$toolbar-ios-height: 5rem;  
$toolbar-md-height: 5rem;  
$toolbar-wp-height: 5rem;

Let me know how i can achieve it.[details=Summary]This text will be hidden[/details]

---

<div class="post-metadata">

**Author:** ![bashome](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bashome/32/105688_2.png) [@bashome](https://forum.ionicframework.com/u/bashome)\
**Post date:** [December 29, 2016, 12:36am UTC](https://forum.ionicframework.com/t/modify-toolbar-text-size/69311/2 "2016-12-29T00:36:17Z")

</div>

Having a similar issue … I would like to create a smaller toolbar under the navbar but the $navbar-ios-height: does not seem to work. It seems to be hardcoded to the toolbar height $toolbar-ios-height so I cannot make the navbar and the toolbar different heights.

---

<div class="post-metadata">

**Author:** ![fishgrind](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/fishgrind/32/103232_2.png) [@fishgrind](https://forum.ionicframework.com/u/fishgrind)\
**Post date:** [December 29, 2016, 12:57am UTC](https://forum.ionicframework.com/t/modify-toolbar-text-size/69311/3 "2016-12-29T00:57:51Z")

</div>

Why not just use plain css/scss instead of overriding the scss variables?

```
Ion-title{
    Font-size:xx;

    List-title{
        Font-size:xx;
    }
}

```

Place it in the style sheet for the page and it will work.
