Yii Layouts With Bootstrap Theme

I bought a bootstrap theme recently and set it up with my Yii app.

Does anyone know what is the best way to move things like header menus and navbars to the layouts and only leave the content of the view to view files.

While trying it looks like the

echo $content;

inside the main layout breaks the bootstrap scaffolding structure of the template…

What is your approach?