Jump to content


Photo
- - - - -

Change Colors In Navbrand


Best Answer ytiruten , 21 December 2012 - 08:16 AM

Thanks Catrina (& all over the team) it works fine (as usually :).

Have a nice days.

Javier

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 ytiruten

ytiruten

    Member

  • Members
  • 16 posts
  • Country: Country Flag

Posted 20 December 2012 - 04:25 PM

I want to change in the navBrand  the background color (to white) and the text (to black) and it still fails (

Please Login or Register to see this Hidden Content

)

 

Background:

This works only with Chrome but not in FFox:

.navbar.pl-color-black-trans {
    background-color: transparent;
    background-image: -webkit-linear-gradient(top,rgba(255, 255, 255, 1),rgba(255, 255, 255, 1));
    background-repeat: repeat-x;
    border-top: 0 solid transparent;
}

 

Texto color:

I can change size, weight... but not color with this:

#navbar div.navbar.fix {
  font-size: 23px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  color: black !important;
}

 

How can I do?



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 20 December 2012 - 04:54 PM

Firefox can't read webkit, so that's why the background color still appears to be a gradient. You should try replace that background-image line with:

Please Login or Register to see this Hidden Content

As for the text color, it's not being changed because your menu items are using links, not regular text, so your selector should be this instead:

Please Login or Register to see this Hidden Content



#3 ytiruten

ytiruten

    Member

  • Members
  • 16 posts
  • Country: Country Flag

Posted 21 December 2012 - 08:16 AM   Best Answer

Thanks Catrina (& all over the team) it works fine (as usually :).

Have a nice days.

Javier