Jump to content

Archived

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

rafaeldesilva

Compiled CSS, where to find or reset

Recommended Posts

rafaeldesilva    0
rafaeldesilva

Hello, some compiled CSS is reseting my CSS rules in style.css (child theme), I have no custom code in Pagelines site options, where can I find or reset this compiled code?

 

I have no caché plugin or similar

 

Thank you

Share this post


Link to post
Share on other sites
Jake    74
Jake

Hi rafaeldesilva - If you navigate to the DMS visual editor - Global Options - Resets you'll see a button to flush the CSS/LESS cache. I think that will do the trick.


Have you searched the forums yet or checked out the DMS user docs?

PageLines geek, blogging at MyUntangledLife.com

Share this post


Link to post
Share on other sites
rafaeldesilva    0
rafaeldesilva

Sorry, DMS visual editor? I don't know where that is, I'm using Pagelines framework

 

Thank you

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Go to Dashboard > PageLines > Site Options.  Scroll down to the very bottom of the screen, and you'll see Restore Defaults as an option. 

 

Take care here, because this will wipe everything you setup in Framework clean.  You will have to rebuild your site from scratch - logo, branding, colors, layout... the works. 

 

Compiled CSS is dynamic, and thus shouldn't have to be cleared this way.  Just remove your custom code from any added to child theme stylesheets or PageLines Customize stylesheets.  Save the settings and the Compiled CSS will be cleared of any custom code.  That does not include code from plugins, so deactivate those as well.

 

Why do you believe clearing the compiled CSS is the right way to do this?  Moreover, what's wrong that you feel the need to do it?  Maybe we can help address that issue, and save you from messing up the site.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
rafaeldesilva    0
rafaeldesilva

Restore defaults... sounds very dangerous, I won't dare to do that, I have too many options and layouts configured. I need to clear compiled CSS because, as you can see in the image I attached (from DOM inspector in Chrome), compiled code is nullifying my margin-right: 20px. I thought compiled code was produced by custom code in site options, but I emptied all this custom code.

 

Thank you

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi,
 
The compiled CSS isn't reseting your custom CSS in your child theme, its just that your child theme doesn't have priority. To override the default CSS, you will need to prefix your custom rules with one of the following:
 
#site or #page
 
For example:
 
#site .example {
     color: #232425;
}
 
This information is also covered in the PageLines Framework docs - http://support.pagelines.me/docs/customization/custom-css/
 
Scroll down until you see the section called "PageLines Overrides"

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • GreyFoxWebDesign
      By GreyFoxWebDesign+
      Hi, could you let me know where the custom less/css is saved to - i.e. how I could access it directly via the server.
      I hid the Admin Bar by mistake and now can't save any changes to the Custom CSS as the Save Button is not available - so I need to find another way to access and edit the custom CSS.
      Thanks in advance
    • Audun MB
      By Audun MB+
      How do I get the LESS in a child theme to compile?
    • dymond
      By dymond+
      I've been trying to upload a video to use as a video background, but the size was 12m, and the alotted max file size is 8m. I downloaded a couple of pugins that increase the size by creating php.ini files and all of that jazz, but to no avail. It would say (Max file size = 250mb) but after I uploaded I would get an "HTTP ERROR",
      Soooo I logged into my cpanel and saw that the php I was using was 4 version out of date. I upgraded my php to PHP 5.6 and now I get
      Fatal error: Out of memory (allocated 39583744) (tried to allocate 15 bytes) in /homepages/39/d200014696/htdocs/dymondentertainment.com/wp-content/themes/dms/dms/includes/less.plugin.php on line 848
      When I activiate another theme that is not pagleines, the site works fine.... but will no longer work with Pagelines DMS Version 2.2
       
      My site has no gone dark. What can I do?
    • station16
      By station16
      I installed DMS for a new site and got an error message on install and when I install any plugin.
      Warning: Invalid argument supplied for foreach() in /nfs/c09/h04/mnt/208781/domains/prevailcoffee.co/html/wp-content/themes/dms/dms/includes/less.legacy.php on line 818
      I installed the latest DMS 2.1.9.6
       
      Please advise. I'm now having issues getting any plugins to work. Not sure what to do next.
      thanks,
      -b
    • mnagillum
      By mnagillum+
      I built a simple site without a child theme, using just the Custom Styling Classes and Inline CSS Styling available in PageLines' various sections. I also added a few lines of CSS in the Jetpack Appearance tool--maybe 10 or 12 lines, nowhere near 1040. I am now getting this message:
       
      /* LESS PARSE ERROR in your Custom CSS: parse error: failed at `` line: 1040 */
      Where can I find the Custom CSS and--more importantly--how can I fix it?
      The site is ndpointstrategies.com.
      Thanks in advance.
×