• 0

DMS 2 CSS customization error for media quaries


Question

Posted · Report post

Since the upgrade, I have not been able to use media quaries in the Custom CSS/LESS area to make adjustments for different screen resolutions to be responsive. Is it just me or any of you also having trouble with this? Here is the code i put in. 

 

  1. /* Large desktop */
  2. @media (min-width: 1200px) { ... }
  3.  
  4. /* Portrait tablet to landscape and desktop */
  5. @media (min-width: 768px) and (max-width: 979px) { ... }
  6.  
  7. /* Landscape phone to portrait tablet */
  8. @media (max-width: 767px) { ... }
  9.  
  10. /* Landscape phones and down */
  11. @media (max-width: 480px) { ... }

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

Posted · Report post

HI,

 

There should be no issue in using Media Queries in the Custom CSS/LESS editor. However, what is the actually code you're trying to use ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

nothing yet cause i'm revamping the website. I used media queries before and there wasn't an issue. what seems to be happening is that when i enter the media queries this time around, it breaks DMS2 from loading properly. I'll try again and come back to give an update. i'll see if it fixed itself. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Let us know how you get on. If you still have problems please add the custom Code you are using here and provide the link to the paste http://forum.pagelines.com/pst/

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Any update to this, as adding Media Queries to your site, shouldn't cause DMS to not load. It sounds like there is something else causing the issue.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

UPDATE: It's working again. Not sure what happen. Thanks for replying. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you for letting us know 

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