ferdmaster 0 Report post Posted November 13, 2011 Hi there! I was working on my site as usual and as I refresh my page, suddenly I have the standard Pagelines design. Everything is gone: the logo, the custom colors, all the custom css hooks, really EVERYTHING. What is going on here? How can this happen?? I know that there is an option to go back to the default setting, but I KNOW that I did not press this button. So, this is my page: http://www.ngojobs.at/home I was about to publish the page in the next two days, PLEASE HELP! (Unfortunately I did not make a copy of the custom css code...). How can I get my old setting back?? Thanks, Share this post Link to post Share on other sites
ferdmaster 0 Report post Posted November 13, 2011 I use the Platform Pro Base theme by the way. Share this post Link to post Share on other sites
ferdmaster 0 Report post Posted November 13, 2011 I am working like crazy now to get all my old settings back, which is a lot of trouble serching through old forum topics etc. But it wil be done soon. BUT I AM DEFINITELY WAITING FOR SUPPORT. I want to prevent this from happening again and I would appreciate an explanation. Thanks. Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 What steps were you taking whilst working on your site? Did you install and activate any new plugins? Did you make any upgrades? 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
ferdmaster 0 Report post Posted November 13, 2011 Hi Catrina, no, none of it. I was actually ading some custom CSS code. I added something like "h1 { margin-bottom: 15px; padding-bottom: 0; }" That's all. Any clue? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 Even the hooks you added to functions.php are gone (not just the CSS you added to accompany the hooks)? When you say that you refreshed the page, which page are you referring to? Your actual site or the Dashboard page where the settings are? 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
ferdmaster 0 Report post Posted November 13, 2011 I never changed the functions.php or any other .php-file. Sorry for using the word "hooks", I actually meant the Custom CSS changes I made. Should I add my Custom CSS changes to the functions.php file to avoid something like toay happening? Share this post Link to post Share on other sites
ferdmaster 0 Report post Posted November 13, 2011 And actually I saved the Custom CSS changes and closed the tab, then refreshed the frontend of my site in the other tab Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 [quote]Should I add my Custom CSS changes to the functions.php file to avoid something like toay happening?[/quote] No, Custom CSS cannot be added to functions.php because the CSS won't work there. Only php functions can be added to functions.php. Look in your dynamic.css file located in your theme files and check to see if there is CSS in the /* Custom CSS */ area (it should be somewhere on the bottom). 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
ferdmaster 0 Report post Posted November 13, 2011 Ok, so I found this dynamic.css with Filezilla in wp-content/themes/platformpro/css/ . at the bottom it only says /* Custom CSS */ body{} I am using the child theme Base, does it make a difference? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 Using the child theme makes a difference, but I don't think it has to do with the custom changes disappearing out of no where with no other changes made on the Dashboard besides just adding custom code. 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
ferdmaster 0 Report post Posted November 13, 2011 so we're not getting any smarter? :-) Share this post Link to post Share on other sites
Simon 248 Report post Posted November 13, 2011 Your site is not using dynamic.css, take a look at the source for the page, you will see a big block of css in the HEAD section, you have inline css enabled so it appears there. Share this post Link to post Share on other sites
ferdmaster 0 Report post Posted November 13, 2011 so what does it mean, what should i do? there is the option "Make Dynamic CSS Inline? " which i did NOT select, should I do that? I put al my custom CSS in the "Custom Code" section in the platformpro settings, should I put it somewhere else? Please give me concrete instructions, I am no expert here... Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 An alternative to adding CSS to Custom Code is adding it to the PlatformBase stylesheet instead (in Appearance > Editor). The CSS can be added to the bottom of the file and saved. 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
ferdmaster 0 Report post Posted November 13, 2011 Should I delete the Code fron the Custom Code Area then and from now on only put customizations in the stylesheet? (Thanks for your help!) Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 Yes. You don't need to have the CSS in Custom Code if it's already in the PlatformBase stylesheet. 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
ferdmaster 0 Report post Posted November 13, 2011 Ok I'll try that. Stil don't know what happened there today... Maybe I don't have the Base theme installed properly? There aren't as many files in the base theme directory as in the normal platformpro files, is that normal? Is there something specific I need to pay attention regarding the base theme? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 It's normal for PlatformBase theme to not have as many files as PlatformPro since PlatformPro is where all of the parent/core files are supposed to be stored. 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
ferdmaster 0 Report post Posted November 13, 2011 Ok thanks Catrina, I just hope it will never happen again although it doesn't really comfort me. Share this post Link to post Share on other sites
kimesolutions 0 Report post Posted December 19, 2011 Same thing happened to me. I was trying to add a G+ profile in the Header/Footer menu. All gone! Is there now way to roll back???? Please help me! Share this post Link to post Share on other sites
monahowell 0 Report post Posted January 12, 2012 I found my custom CSS at the bottom of the dynamic.css inside the PlatformPro folder (not the Base folder) but I still had to use my time machine (Mac) to go back to an older version. Somehow the custom CSS was still working, but I could no longer see it (and therefore could no longer change it.) Weird how it disappeared from the dynamic.css but was still invisibly formatting the site. Share this post Link to post Share on other sites