Archived

This topic is now archived and is closed to further replies.

  • 0

LESS / CSS Error "expected color value"


Question

Posted · Report post

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

PageLines Sections LESS/CSS error.
expected color value: failed at `color: fadeout(@headerHeadingColor, 70%);` line: 2932

All plugins are deacitvated.

 

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

 

Any ideas what to do?

Share this post


Link to post
Share on other sites

7 answers to this question

Posted · Report post

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);

Share this post


Link to post
Share on other sites

Posted · Report post

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:

PageLines Sections LESS/CSS error.
parse error: unclosed block

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

When you Background plugin what plugin are you referring to ?

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry Danny,

 

the plugin was Background Manager.

 

 

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

 

Thanks, Peter

Share this post


Link to post
Share on other sites

Posted · Report post

 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.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for informing us the issue has been resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

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 - http://lesscss.org/

Share this post


Link to post
Share on other sites