• BToal

    (@btoal)


    Hi

    Really love the theme, easy to use etc.
    But I have put up a site I built using Virtue live and went into check a few things and noticed that all the CSS that I entered in Theme Options > advance options has disappeared!! Please help!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    The only way I can see this happening is if your max execution time is short in the php settings and the theme options timed out when trying to load causing the css to not load. If you saved the theme options and it hadn’t loaded it would clear it.

    So start by checking your php settings. which version and what you max memory and max execution time is.

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    Hi

    Thank you for getting back to me.
    I am new at this and am not sure where I should be looking for this information. Could you please tell me how to find this info?

    Also, some people have been saying that it could be because I didnt build the site using a child theme and that the theme updated and cleared the css??

    Thank you for your help

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    When you update the theme doesn’t clear your theme options so that should be an issue, A child theme can keep all the css you add out of your database and in a file so pretty much impossible to lose but if your database is functioning properly and your php settings are up to date you shouldn’t have any issues.

    In the future if you plan on having a lot of css (more then a few lines) then I would use a child theme.

    To get you php settings you might as well call your hosting support, ask them to increase your php max memory and max execution time. Some of the cheaper hosts won’t do this for you but most will. They will be able to tell you your stats. I would also run a check on your database and make sure it doesn’t need repairs (also something for your hosting support)

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    Thank you for that. I’ll ring the hosting company in the morning. I would have used alot of css so in future I’ll build with a child theme.

    Is there any way of retrieving the lost css??

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Not unless the site still shows the changes in the front end. If the settings have been overridden though the database would have been cleared.

    Just for clarity, which version of the theme did you have prior to updating and when you updated is that when you noticed the missing css?

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    The only things that have changed on the site is what I customised in the css in the theme options.

    The version is version 1.9.9.7. I didnt update the theme at any time! The site was working perfectly for three weeks and I just went in to amend a few small things on the site and noticed the custom CSS in the theme options was empty.

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    ok so your still using that version? Then yes I would say it’s a php max execute issue.

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    Ok, thanks…I have a copy of the site on my own hosting, (its where I built the site before I ftp the site to the clients hosting). Once I get the php max execute issue sorted should I install a child theme on the live site and then copy the CSS into it?

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Yeah I would just make a child theme for the css.

    Just need a folder with a style.css file in in.

    Add this at the top:

    /*
    Theme Name: Virtue – Child
    Theme URI: https://themes.kadencethemes.com/virtue/
    Description: Child theme for Virtue
    Author: Kadence Themes
    Author URI: https://www.kadencethemes.com/
    Template: virtue
    Version: 1.0.0
    */

    Then add your css below.

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    Hi
    I contacted hosting support and they had the php max memory and max execution time is at a high level. They then accessed the error log file for the site. The following error was showing up:- mcquaidupholstery.com [Tue Apr 01 15:12:16 2014] [error] [client 180.76.6.149:51786] AH01276: Cannot serve directory /home/sites/mcquaidupholstery.com/public_html/wp-content/themes/virtue/assets/css/skins/: No matching DirectoryIndex

    Do you know what this is??

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    in the theme options, basic settings you need to make sure one skin is selected, this error would show if you had it set to select.
    As for the settings, what were they? just curious?

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    I’m not sure what the setting were, the hosting company just said that they have them set high for wordpress site because of the amount of memory they use up. So I am guessing at this stage we are not sure why the custom CSS disappeared from the site?? Do you suggest that I just reload the custom CSS using a child theme in the CSS??

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Yeah if your server lost the settings once I wouldn’t tempt it again. I would just upload a child theme with the css in the child theme style.css file.

    Kadence Themes

    Thread Starter BToal

    (@btoal)

    Ok then thanks… I’m sure your fed-up with me wrecking your head with my problem!! I really like the theme and am seriously considering getting the premium version. Thanks again for your help

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘CSS in advanced options disappeared!!’ is closed to new replies.