Title: transparency
Last modified: August 21, 2016

---

# transparency

 *  Resolved [mouzaia](https://wordpress.org/support/users/mouzaia/)
 * (@mouzaia)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/transparency-2/)
 * Hello and thanks for that plugin …
 * But … I do not want the sticky menu be transparent. And I dont succeed even if
   I change the colors …
 *  background-color: blue;
    background: #220e10; color: fuchsia;
 * It does not change anything.
 * An idea ?
 * Also, on homepage it is brown like in your images, but on other pages, it is 
   white 🙁
 * Thanks.
    You can see it : [http://legestecommercial.com](http://legestecommercial.com)
 * [http://wordpress.org/plugins/tp-navigation-menu/](http://wordpress.org/plugins/tp-navigation-menu/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [mouzaia](https://wordpress.org/support/users/mouzaia/)
 * (@mouzaia)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/transparency-2/#post-4060936)
 * I found the modif to do in tp_navigation.js !
    `\\` if (scroll_top > tp_navigation_offset_top){
   jQuery(‘#navbar’).css({ ‘position’: ‘fixed’, ‘top’:0 }); jQuery(‘#navbar’).css({‘
   background’: ‘url(“wp-content/plugins/tp-navigation-menu/css/brown-2.png”) repeat
   scroll 0 0 transparent’ }); jQuery(‘#navbar’).css({ ‘box-shadow’: ‘0 0 5px #999999’});
   ====>>> jQuery(‘#navbar’).css({ ‘background’: ‘#FFFFFF’ }); } else { jQuery(‘#
   navbar’).css({ ‘position’: ‘relative’ }); jQuery(‘#navbar’).css({ ‘background’:‘#
   F7F5E7’ }); jQuery(‘#navbar’).css({ ‘box-shadow’: ‘none’ }); } `\\`
 *  Thread Starter [mouzaia](https://wordpress.org/support/users/mouzaia/)
 * (@mouzaia)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/transparency-2/#post-4061008)
 * Hello,
 * In your index.php, there is a $file with a double //:
 * $file = plugin_dir_path(__FILE__) . $file_path;
    So I add this: $file = str_replace(“//”,”/”,
   $file);
 * In fact I would like to have the
    ====>>> jQuery(‘#navbar’).css({ ‘background’:‘#
   FFFFFF’ }); above automatically filled with the color of my main navbar. But 
   i am not as good as you with js.
 * Best Regards
 *  Thread Starter [mouzaia](https://wordpress.org/support/users/mouzaia/)
 * (@mouzaia)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/transparency-2/#post-4061013)
 * Me again, for the last time 🙂
 *     ```
       if (scroll_top > tp_navigation_offset_top) {
       			jQuery('#navbar').css({ 'position': 'fixed', 'top':0 });
       			jQuery('#navbar').css({ 'box-shadow': '0 0 50px #999999' });
       		} else {
       			jQuery('#navbar').css({ 'position': 'relative' });
       			jQuery('#navbar').css({ 'box-shadow': 'none' });
       		}
       ```
   
 * works perfectly !
 * Then the color is the default one of the menu.
 *  Plugin Author [pey22](https://wordpress.org/support/users/pey22/)
 * (@pey22)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/transparency-2/#post-4061015)
 * **Hello mouzaia**
    I’m glad you liked it and solved the problem. Feel free to
   contact me if you need help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘transparency’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tp-navigation-menu_e4e0de.svg)
 * [T&P Navigation Menu](https://wordpress.org/plugins/tp-navigation-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tp-navigation-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tp-navigation-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/tp-navigation-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tp-navigation-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tp-navigation-menu/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pey22](https://wordpress.org/support/users/pey22/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/transparency-2/#post-4061015)
 * Status: resolved