Jump to content
Sign in to follow this  
kschwan1

Changing color of the Header

Recommended Posts

kschwan1

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

 

Here is the css I have used:

 

 
#page

.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);
 
filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=�#444444�,EndColorStr=�#222222�);
 
}

.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.

 

Thanks,

 

Kevin

Share this post


Link to post
Share on other sites
Rob

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

    • 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?
       
      Thanks 
      Greg

    • chamois_blanc
      By chamois_blanc+
      Hello,
      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.
      https://thelaptopfixers.com
       
       
    • 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 :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
×