How can I change the color of portal button

takanori1
Giga Contributor

Hi, expert.

when I change web browser size to small, then 3 lines button display(see attachment).

What I want is change color.

I think it can be changed by CSS in Header Menu widget.

But I don't know what parameter should I change.

If I'm wrong, let me know what parameter in what area(for example, xxx widget) I should change.

I'm not good at CSS.

1 ACCEPTED SOLUTION

Aishwarya Puri
Giga Expert

Hi,

 Steps -application navigator -> service portal -> Headers & Footers -> Stock Header

For changing the color you have to make changes to the stock header widget

for this first clone that widget 

In the Html part, we have button tag

<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#sp-nav-bar">

Now for changing color write CSS for the class of buuton "navbar-toggle collapsed" 

CSS should be like this:

.navbar-toggle collapsed

{

color : #fff;

width: 20%;

}

   I hope it helped you if it did please mark it correct or helpful.

Warm Regards, 

Aishwarya Puri

find_real_file.png

View solution in original post

6 REPLIES 6

Mike Patel
Tera Sage

Add something like below to header css

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: black;
}
 

Thank you for your reply.

I can change .navbar-inverse bockground color by adding above in Header Menu widget.

But I can't change the color of 3 lines button.

What is that name?

 

tried below and works fine for me. Make sure you clear cache after change

.navbar-inverse .navbar-toggle .icon-bar {
background-coloryellow;

Thank you for your reply again.

Is it correct to set it at wieget "Header Menu" ?

(Of course, after clone  "Header Menu")

 

I add it at  sp_portal's CSS, but it failed too.

I've added $sp-tagline-color: #ffffff; in sp_portal's CSS, then I can't visible 3 lines button. 

 

If you success to change the color of 3 lines button, could you show me the result and what record did you change.

 

Regards.