Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set navigation bars to translucent: NO

How can I set all my navigation bars to have their translucent property set to NO?

like image 798
user1529956 Avatar asked Sep 21 '13 19:09

user1529956


People also ask

How do I make my navigation bar translucent?

Creating a transparent navbar is very easy - just don't add a color class . bg-* to the navbar. In this case, the Navbar will take the color of the parent's background color.

What is translucent navigation bar?

Translucent or partially transparent is when the colour can be seen but the background behind the object is also slightly visible through it. For this we use. background-color: #FFFFFF; opacity: 0.5; filter: alpha(opacity=50);

How do I get rid of the transparent navigation bar?

If you want to remove the opacity or transparency from the sticky navigation bar, just navigate to Theme Options -> General -> Additional CSS and copy/paste this code and save changes. You could also manipulate the opacity by altering the value “1” at the end of the CSS statement.


1 Answers

Code:

[self.navigationController.navigationBar setTranslucent:NO];
like image 191
Dipu Rajak Avatar answered Sep 20 '22 23:09

Dipu Rajak