Jump to content

Archived

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

MobileParity

Custom CSS Not working

Recommended Posts

MobileParity

Hello there,

 

I am using a DMS Child Theme to customize my site and the CSS that has been added via the custom LESS/CSS editor on the front end. The CSS loads fine when I press ctrl+enter (PC) however when I visit the live site none of the custom LESS/CSS shows up. Not sure what I am doing wrong here so a bit of help to get my over would be awesome. I have included screen shots of what the site is supposed to look like. http://screencast.com/t/cL9Vx4Gv

The live site location is on my profile.

Share this post


Link to post
Share on other sites
Danny

HI,

 

If your custom CSS isn't working upon refresh, its likely you have some errors, you will need to review your CSS and rectify any mistakes.

If that doesn't work, provide a link to your site, with DMS debug enabled (DMS Toolbar > Settings > Advanced) and also add your custom CSS to our pastie service then link it in your reply.

 

http://forum.pagelines.com/pst/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
MobileParity

The CSS is now working because I am using the Wordpress CSS feature. I believe this overrides any theme CSS however i am not sure if this is the correct method to have the CSS showing. Any thoughts?

Share this post


Link to post
Share on other sites
James B

Hi there, in DMS you'll need to use the Css/LESS editor inside the DMS control panel. http://screencast.com/t/9FFmKAXsID5g

 

Once you've entered your css, click elsewhere inside the admin panel so you see the spinning saving icon in the top right hand corner of the DMS control panel. Once its finished saving then click publish. Then you can check the page again for the changes.

 

Full details of the different methods of making css changes can be found at http://docs.pagelines.com/customize/how-to-customize


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

    • Bleuy
      By Bleuy+
      How can I get support on pagelines DMS? The product isn't that old and my skeleton themes aren't working and I can't get support in the same way? 
    • Bleuy
      By Bleuy+
      I have a number of legacy websites that are running on the above version of Pagelines DMS, where the template has stopped working. I am using a skeleton theme to all of them. What do I need to do to rectify this.
       
       
    • gstrahle
      By gstrahle+
      Hi,
      I am hoping to figure out how I can get my PageLines Full Nav to display layered in front of a sticky footer element on my website - 3keymedia.com
      I would like the Full Nav to overlay the entire screen when opening the menu as you will see when opening on a desktop the footer of nav content is cropped by the sticky footer.
       
      Thanks


    • Christian
      By Christian+
      Hi everyone, since Instagram had allowed to publish in different ratio formats (instead of only square ratio) the grams stripe has different heights. Can you tell me if i can fix it easily with some CSS?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
×