Jump to content
Claude203

How To Carry Over Previous CSS With WhiteHousePro Upgrade

Recommended Posts

Claude203

I have WhiteHousePro 3.0.1 and over time I've added several enhancements and modifications to the CSS file, by editing the style.css file in the Edit Themes section under the Appearance heading.

If I upgrade to WHP 3.1.5, can I just copy the contents of the old style.css file and paste them over the the entire contents of the new style.css file? In other words, is there anything in the new CSS that needs to remain?

Or, is it better to take those enhancements and modifications and add them to the CSS Rules box in the Custom CSS section in the Custom Code section under Theme Options?

Thank you.

  • Like 1

Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
catrina

It's better to take those enhancements and modifications and add them to the CSS Rules box in the Custom CSS section. If you need to change any CSS at all, you can use Firebug to help you make those changes by following the instructions here: http://www.pagelines.com/wiki/Custom_CSS. (This from the PageLines Framework documentation but the same technique can be applied)

  • Like 1

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Claude203

Thanks Catrina. I will try that. I will also try Firebug as needed, however that instructions link you shared appears to be empty. Could you please confirm it. Thx.

  • Like 1

Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
Claude203

Thank you James, I will check it out.


Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
Rob

Keep us posted!


Former PageLines Moderator, Food Expert and Raconteur

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


  • Similar Content

    • 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
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • jeomiland
      By jeomiland+
      Greetings
      I had a nice feature from DMS on a site i'm upgrading from DMS to platform5. How can i get the functionality of the old DMS "Pagelines Signup" section? It had a great user interface that provides user with a slider switch that uncovered a simple signup form.
      Thanks
      See https://cassclayton.com for sample of what i need to recreate in platform5, upper right column.
    • 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.
×