Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
779 views
in Themes by
hey friend im using "donut Theme" and i wanna change "navigation bar's" color..

then how can i do that?
Q2A version: v1.3

1 Answer

0 votes
by
selected by
 
Best answer

1. Edit file qa-theme/Donut/qa-donut-layer.php

2. Add doctype function:

function doctype() {
    $this->content['script'] = isset($this->content['script']) ? $this->content['script'] : array();
    $this->content['script'][] = '
        <style type="text/css">
            .navbar-default,
            .navbar-default .navbar-nav>.active>a,
            .navbar-default .navbar-nav>.active>a:hover,
            .navbar-default .navbar-nav>.active>a:focus {
                background-color: red;
            }
        </style>
    ';
    parent::doctype();
}

3. Replace red with the color you want.

by
edited by
hey dear thanks its working :D
...