• 0

DMS 2 DMS Less System encountered an error /* LESS PARSE ERROR in your Custom CSS


Question

Posted · Report post

Where would I go to fix this?

 

DMS Less System encountered an error
/* LESS PARSE ERROR in your Custom CSS: parse error: failed at `media = "all"` line: 1025 */

 

This is the only code I have added to pagelines.  

 

/*remove date in hover boxes */

.date.time.published.updated.sc { display:none}
 
.the-media-html p {
    margin: 0;
}
 
 
/*remove sideoffer from mobile */
@media all and (max-width: 970px) {
#sideoffer {
display:none;
}
}
 
/*stop scroll bar in popup window */
.modal-body {overflow-y: none !important;}

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Looks like the LESS compiler doesn't like the @media all line. Remove it and replace without

 

@media (max-width: 970px)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

.date.time.published.updated.sc { display:none} is also a parse error { display: none;}

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

GetMeWebDesign good call :-)

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