Jump to content

Archived

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

alisamski

custom css not holding

Recommended Posts

alisamski

Today, my custom CSS is not holding upon refresh. Flushed Cache. Checked topics here on forum...and found no answers.

 

Here is the css that I need to apply: Shows upon save.. and disappears.

_____________________________

.pl-content {
background: rgba(250, 250, 250, 0.8);
}
#header .pl-content {
background: rgba(0, 0, 0, 0);
}
#navbar .pl-content {
background: rgba(0, 0, 0, 0);
}
#footer .pl-content {
background: rgba(250, 250, 250, 0.8);
}

 

____________

Suggestions welcomed.

 

 

Thanks.

 

http://bit.ly/1cejKbz

Share this post


Link to post
Share on other sites
greenfly

HI alisamski

 

If you could create an admin level account for your site and send the credentials to hello @ pagelines dot com - along with a link to this forum topic in the email i will jump on and take a look for you. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
greenfly

Hi there 

The CSS you entered is still there on your site in the Custom CSS area http://d.pr/i/L6FG - however - it doesn't look as though you have pressed save. Are you making sure the light is green on the DMS visual editor before you refresh . 

 

You may have to click out of the CSS area and then click back into this area again to make sure the entries you made take effect. This is a known bug for the moment that will hopefully be resolved in the next iteration of DMS.

 

i made sure the light was green and changes to Custom CSS stuck this time 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
alisamski

I've saved in every configuration possible... and the custom css is still not working... or at least I'm not seeing it..

 

if you go to the inside pages.. not the fron tpage... each area has a transparent white behind the content..

Share this post


Link to post
Share on other sites
greenfly

do you mean (for example) this transparent white behind the 'Our Specialities' area: http://d.pr/i/75zW


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
alisamski

Yes... and the below areas...

 

it is not showing

 

pl-content {
background: rgba(250, 250, 250, 0.8);
}
#header .pl-content {
background: rgba(0, 0, 0, 0);
}
#navbar .pl-content {
background: rgba(0, 0, 0, 0);
}
#footer .pl-content {
background: rgba(250, 250, 250, 0.8);
}

Share this post


Link to post
Share on other sites
greenfly

this only shows when your are logged in and accessing the visual editor. it is not present otherwise - i.e. not present to non-admin visitors

 

does this make sense? 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
alisamski

No I do not mean  activating the area...

so the css does not work

 

http://bit.ly/1bfqr71

 

the css saves and then it does not hold. So the content area has a transparent white background around it.

Share this post


Link to post
Share on other sites
James B

Hi there,

 

Ok something is definitely off there. Logged into your site to test, no css seemed to be sticking at all, so in testing removed all your css and tried a basic change, didn't take affect still showed all the stuff I'd just removed. Kept on going, a little while later, change took affect. Set back with original css and again nothing took. This leads me to think that the host could be caching? I'd check with them to see if they cache any files their end.

 

For the time being, as the original css wouldn't go back in (leaving your site unstyled) I have added the code in to the base themes style.css which override whats in the css editor. So now it's showing.

 

I will speak to our developer to see what could be causing this, but I'd def say check with the host as well in the interim.


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
alisamski

thanks will do... its a client site... so will find out (GoDaddy) what is going on.

Share this post


Link to post
Share on other sites
James B

Just to update we've had another case where something similar is happening and they are also on godaddy, so be interesting to see what they say. If we hear back on the other case I'll post the comments in this thread too. Core team are aware.


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
alisamski

Waiting to hear what type of servers they have this on... if we have to go to GoDaddy for a client, we usually get at least a Deluxe Host Acct. Linux  with CPanel..

This client has a very old website on these servers... so we'll see and will post..

 

Thanks

Share this post


Link to post
Share on other sites
paul_t

To confirm, I've had this problem to. Using the LESS Save Button on the front end of the Pagelines Interface made it stick, but that sort of negates the point of having the custom box in the DMS editor. 

Share this post


Link to post
Share on other sites
James B

The Css/Less fallback in the Pagelines tab in the wp admin area is a fix for if the dms editor isn't working correctly. When saving your code in the css/less panel in the editor, make sure you click elsewhere in the panel to see the saving icon spin in the top right hand corner of the editor, once it's finished saving, publish and check if the css has saved. If it hasn't and the panel is clear but saving in the fall back area, it could be a plugin conflict (the dms editor is jquery based so some plugins can break it) try disabling the plugins on your site and reattempting the css changes to see if this is the cause.


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
alisamski

Client is on hold until he finishes checking the site... so I will go thru again and see if I can apply the above tips... until then..

thank you .. and will like to keep this open until I finish up..

Share this post


Link to post
Share on other sites
Danny

OK, as James mentioned above, there is currently an issue in 1.4 where some users encounter an error in saving there changes, this related to custom CSS/LESS, settings and section setting changes.

 

The issue has been fixed in an upcoming patch, in the meantime, what you can do is this:

 

1. When you add custom CSS/LESS or make a change to a setting.

2. Before clicking the publish button, do the following:

A ) For CSS/LESS, move your mouse cursor to outside of the DMS editor and then click.

B ) For Settings and Section Settings, move your mouse cursor to a different option field and click inside of it.

3. This should now trigger the Saving Progression, which you can confirm by looking next to the Publish button.

4. *Once this Saving has completed, click publish and your settings and custom CSS/LESS should now take effect.

 

* If your custom CSS/LESS doesn't take effect after this, then you either have one of the following issues.

 

1. Your custom CSS isn't correct i.e. is either invalid or isn't targeting the element correctly.

2. You have a cache or other plugin causing a conflict.

3. Your host is using a cache system which is preventing your CSS/LESS to take effect.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • 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?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      }
       
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
      Thanks
      Michael
×