Jump to content
Sign in to follow this  

Changing color of the Header

Recommended Posts


I am attempting to change the header color to: rgba(94,66,52,1)


Here is the css I have used:



.navbar.pl-color-black-trans { background-color: rgba(94,66,52,1);
background-image: -moz-linear-gradient(top,rgba(94,66,52,1),rgba(94,66,52,1));
background-image: -ms-linear-gradient(top,rgba(94,66,52,1),rgbargba(94,66,52,1));
background-image: -webkit-gradient(linear,0 0,0 100%,from(rgba(94,66,52,1)),to(rgba(94,66,52,1)));
background-image: -webkit-linear-gradient(top,rgba(94,66,52,1),rgba(94,66,52,1));
background-image: -o-linear-gradient(top,rgba(94,66,52,1),rgba(94,66,52,1));
background-image: linear-gradient(top,rgba(94,66,52,1),rgba(94,66,52,1));
background-repeat: repeat-x; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=�rgba(94,66,52,1)�, endColorstr=�rgba(94,66,52,1)�, GradientType=0);
border-top: 1px solid rgba(0, 0, 0, 0.9);

.navbar .navline > li > a {
    color: rgba(94,66,52,1);
    display: block;
    float: none;
    line-height: 19px;
    padding: 9px 12px 10px;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);


Any help would be greatly appreciated.





Share this post

Link to post
Share on other sites

Hi Kevin,


You have a number of serious errors in the code above.  Looking at it you'll see all sorts of odd characters which don't belong.


Additionally, the last bit has no closing }


Check the example on this link: https://developer.mozilla.org/en-US/docs/CSS/linear-gradient under Cross Browser Gradients.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • gregory.guz
      By gregory.guz+
      Hi ,
      I just noticed that the color picker has stopped showing up on my PL5 site ( please see attached image ) 
      Any idea what could be causing the problem?

    • chamois_blanc
      By chamois_blanc+
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • Paul
      By Paul+
      I was surprised to see I had no menu today - out of the blue - its actually moved to the bottom of the page!  After hours of fiddling and disabling every single plugin, leaving just plagelines the issue is still present.  See video for a basic text box - I moved it into the head and it jumps to the bottom and shows just above the footer but below the main content.  I have a temp fix by placing the menu into the first row on the main content but it does mean other than my home page, all other pages have no menu.  A quick fix is very urgent for this bug.
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      Thank you in advance !