Jump to content

Archived

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

travistsickle

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

Recommended Posts

travistsickle+    1
travistsickle

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
James B    436
James B

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

 

@media (max-width: 970px)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign

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

  • Like 1

Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
James B    436
James B

GetMeWebDesign good call :-)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • Universal Web Design
      By Universal Web Design+
      Any help with identifying the error in dms please. can't seem to find anything 
      ERRO_IN_dms.bmp
    • flourishdesignstudio
      By flourishdesignstudio
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
×