Jump to content


Photo
- - - - -

LESS / CSS Error "expected color value"

CSS error LESS error

Best Answer basmati , 05 April 2013 - 09:39 AM

ok thanks it was a less error because i missed the closing bracked! never mind and thanks Danny and Jackey!

 

 
.pl-header-wrap {
	max-width:10	0%;
	padding: 5%;
	background-color: darken(@pl-base,4%);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, .2);
	border: 1px solid lighten(@pl-base,4%);
	.border-radius(6px);
	.box-sizing(border-box);
Go to the full post


  • Please log in to reply
7 replies to this topic

#1 basmati

basmati

    Advocate

  • Members
  • 264 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 04 April 2013 - 06:47 PM

Hi, i got a nasty little error and a yellow sign that keeps telling me:

Please Login or Register to see this Hidden Content

All plugins are deacitvated.

 

It happens after installing, testing and erasing a plugin to display fullscreen background images.

 

Any ideas what to do?



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 04 April 2013 - 08:04 PM

Hi there, if you're using LESS I think you need to specify the color first.

 

So: 

 

@color: #4D926F; - sets the color, then the below css uses that color value in the code.

#header {
color: @color;
}

 

Check you've set a color value for the color first. For more info see -

Please Login or Register to see this Hidden Content



#3 basmati

basmati

    Advocate

  • Members
  • 264 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 05 April 2013 - 07:45 AM

The problem is - i have not changed any LESS Rules!

I just reinstalled Pagelines Framwork.

When i installed the background plugin it said incompatible with you current theme.

since that the yellow sign bugs me.

 

now it has changed to:

Please Login or Register to see this Hidden Content



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 16526 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 05 April 2013 - 07:47 AM

Hi,

 

When you Background plugin what plugin are you referring to ?



#5 basmati

basmati

    Advocate

  • Members
  • 264 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 05 April 2013 - 08:03 AM

Sorry Danny,

 

the plugin was

Please Login or Register to see this Hidden Content

.

 

 

update: i made a new section and i think it's a parse error because of an unclosed tag

 

Thanks, Peter



#6 Danny

Danny

    Is Awesome!

  • Moderators
  • 16526 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 05 April 2013 - 08:34 AM

 Translations aren't really my forte, so I'm not entirely sure to be honest. I can speak to one of our developers and see if they know the reason, as soon as I have more information. I will reply here.



#7 basmati

basmati

    Advocate

  • Members
  • 264 posts
  • Framework Version:PageLines Framework (always the latest)
  • Country: Country Flag

Posted 05 April 2013 - 09:39 AM   Best Answer

ok thanks it was a less error because i missed the closing bracked! never mind and thanks Danny and Jackey!

 

Please Login or Register to see this Hidden Content



#8 Danny

Danny

    Is Awesome!

  • Moderators
  • 16526 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 05 April 2013 - 09:45 AM

Thanks for informing us the issue has been resolved.







Also tagged with one or more of these keywords: CSS error, LESS error