Jump to content

Archived

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

brightonkeller

Pagelines Utility Classes

Recommended Posts

brightonkeller

Are the pagelines utility classes still applicable? For instance, does this documentation still apply to pagelines? 

 

For example, let's say I am editing the mediabox section of my site. Within the section options of the DMS live editing, there is a place to fill in "styling classes" (labeled as "Standard Options"). If I were to put the ".hidden-phone" utility class in the LOCAL (or GLOBAL) section options, would this media-box be "hidden" when viewed from a mobile device? 

 

If no, then I guess these classes cannot be applied in this way. Please clarify if not and I can ask my subsequent questions accordingly.

 

On another note, should i write my OWN media query for my mobile customizations? or do you all have any suggestions for mobile theme and DMS? thanks.

Share this post


Link to post
Share on other sites
Rob

Brighton,

 

All the documentation for DMS is located at http://docs.pagelines.com.  You're viewing something old, as far as know, with that link you provided.

 

The Standard Options > Styling Classes field is intended to let you add a new class or more than one, you wish to apply to the Media Box.  You'd add the word for each class only. NOT the applicable code. As far as I know, you'd not even put in .hidden-phone but something like hidden-phone (no preceding period). 

 

To explain more about the Styling Classes field, please see: http://docs.pagelines.com/tutorials/section-area-styling

 

If you're expecting the Media Box to be hidden by CSS on mobile devices, you should simply apply the correct CSS to display none (as you suggest) to the Custom Code area, but, you must , where the CSS includes browser specific CSS.  I'm saying this because I do not believe that @media refers to the Media Box, but to media, such as videos, images, etc.  See http://docs.pagelines.com/tutorials/browser-specific-css


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
    • Borries
      By Borries+
      I know this is not an easy problem. Maybe there is a easy solution.
      I have tryed to uses the existing solution, that I have found in the forum
      I changed the colours of my nav (simple nav) and the hover effect (a. hover).
      I really tryed to highlight the active/used link in the nav but I cant figure it out.
      I want it to be black when active.
      Any help would be appreciated. Thanks.
      http://www.marcborries.de  nav link: "Sinn & Selbst" 
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
×