Jump to content
Sign in to follow this  
allenresha

Page{Less} Necessity Question

Recommended Posts

allenresha    0
allenresha

I just purchased the plugin.  I feel that it just duplicates the editor already within DMS.  I thought the plugin was going to have a firebug/developer mode type setting that allowed for ease of selecting different elements of the site/page and allow for quick coding.  Let me know if I am doing this wrong.

 

(Starting Point) Frontend of website.

Click Custom Code in DMS Toolbar

Click PageLess

 

(Thanks in advance for help/support.)

Share this post


Link to post
Share on other sites
evan    0
evan

Hi allenresha,

 

You're doing it right! It does not simply duplicate the editor already within DMS, although I can see how one might see that by experience.

 

In a nutshell, PageLESS lets you add custom LESS/CSS to any individual post/page/archive/404, etc.  The difference between PageLESS and the "stock" Custom LESS input that comes with DMS is that the core Custom LESS is GLOBAL - that is it loads the same code on every page.  PageLESS styles are only loaded on the page on which they are set on.

 

My apologies if you misunderstood the capabilities of the plugin.  Sorry if you made this purchase expecting something like firebug-like integration (that would be cool).  If you would please show me where you read/saw/heard that it did something like that, I would really like to know so that I can change that information to be more clear.

 

Thanks for YOUR support!

  • Like 1

Share this post


Link to post
Share on other sites
allenresha    0
allenresha
It was my own interpretation. Late night...lots of work. So that I understand the use for individual pages/posts/etc., if I am on a page/post/etc. then the changes made take affect on that page?

Share this post


Link to post
Share on other sites
evan    0
evan

Cool, yeah that code is only loaded on that page (in addition to whatever else you have going on), but it's loaded last, so given the same specificity rules in PageLESS will take precedence.

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

Sign in to follow this  

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
    • jeomiland
      By jeomiland+
      Hi
      I found this topic
      which talks about a similar issue I am having, but a little different. Hope someone can help me out.
      Best way to see the problem is to view http://cassclayton.com/ on Safari (Mac) compared to Firefox or Chrome. You will see the banner just under the fixed menubar has a gap between the menubar and top of the banner. Looking at Inspector, I found:
      <div class="fixed-top-pusher" style="height: 62px;"></div>
      <script> jQuery('.fixed-top-pusher').height( jQuery('.pl-fixed-top').height() ) </script>
      and indeed it seems the jquery is not always working consistently. For instance, if you simply refresh the page in Safari, it will loose the gap and all looks fine, so is it a browser cache issue that is interacting with the jquery? I do have W3 Total Cache installed. There must be a way to tell the code to make sure jquery is up and running and available to do it's majic?
      And perhaps there is just a better way to do this banner? Originally I tried several DMS sections and used the banner image as background, etc... Kept running into problems with resizing and the left/right parts of the image were getting chopped off. It is important the whole image show, so currently I just use a NextBox section with this code:
      <img src="[pl_site_url]/wp-content/uploads/2015/12/CassClayton-blues-tribute-banner.jpg" width="100%" />
      and it looks the way it should. Is there a better way to place a banner graphic under a fixed navbar and make sure the whole banner graphic displays regardless of screensize?
       
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • kwaoru
      By kwaoru
      Hi,
      I desperately need to deactivate the responsive function on mobile for reasons. It looks so messy with the responsive look on mobile and not navigating or informative at all as it is. 
      I searched for solutions online and tries some of those that I found but nothing worked out. Also I found a previous post on this forum says that this theme pagelines DMS is not meant to be build to deactivate the responsive function... 
      Also tried with widget such as WPtouch to edit the mobile look a little more informative but as I am using "single page" theme on pagelines, the frontpage(main page) never appears on those app.
      Seems like not compatible?
      If there is no way to deactivate responsive function or I'll have to recreate another page just dedicated for a mobile page? or change the theme completely and build a page from scratch?
      I have been searching for this for two days already...
      Could anyone wise and kind out there, please help me?
       
      Thanks,
×