Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #266632
    Serpagli Ernesto
    Participant

    Dear all,

    I have installed Evolution Pro since 4 years and during this time I have
    periodically customized the site using style.css located in ../wp-content/themes/catch-evolution-pro/
    without any problems (supported by CSS-customize plugin).

    More than a year after the last time, i had to do a little customization, namely, hidden a frame of a new inserted search-field.
    I did in the past this operation more times adding the code in style.css. For your information the code is:

    #woocommerce_product_search-3.widget.woocommerce.widget_product_search {
    border-style: hidden;
    }

    Very simple statement but now it doesn’t work.
    If I add this code using WP-tool “Appearance” -> “Customizing” -> “Additional CSS”, then it works correctly.

    It is not a “capital problem” but could you please help me to undestand why it does that? I cannot solve this issue myself.

    My setup:
    WP-Version: 5.5.3
    Catch Evolution Pro: 3.6
    PHP-Version: 7.4.12
    mysqli: 5.7.32

    Thanks a lot in advence
    Ernesto

    #266653
    Skandha
    Keymaster

    @serpico57: Hello Ernesto,
    It is of best practice to not edit the style.css file in the theme as any changes you make will be lost after you update the theme. So if you have any CSS Code to be added please use the Additional CSS section.

    Let me know if this helps you out!
    Kind Regards,
    Skandha

    #266673
    Serpagli Ernesto
    Participant

    Hi Skandha,

    thank you for your answer!
    I wrote a wrong path where i modify my personalized style.css

    the right one is:
    ../wp-content/themes/catch-evolution-pro-child/

    sorry for the mistake.

    Anyway, I agree you and I would be very happy if i could move my customizations to
    the internal editor through Additional CSS but this tool has a very small area for editing
    and I have to put into it over 400 lines of code. I need a large screen to keep full overview on
    what I write into.

    Is there a way to direct edit the corresponding file connected to this tool or a large editing-area of the tool in a next version?

    Thanks a lot in advance and stay safe!

    Bye
    Ernesto

    #266683
    Skandha
    Keymaster

    @serpico57: Hello Ernesto,
    If you are already using a child theme you can use the child theme’s style.css file to add your CSS Code.

    Kind Regards,
    Skandha

    #266748
    Serpagli Ernesto
    Participant

    Hy Skandha,

    ok, but in this case I am back to my first question.
    I will try myself to investigate about.

    Thanks for your appreciated support.

    BR

    Ernesto

    #266762
    Skandha
    Keymaster

    @serpico57: Hello Ernesto, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/catch-responsive/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
    appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a great weekend! 🙂

    Kind Regards,
    Skandha

    #267784
    Serpagli Ernesto
    Participant

    Dear Skandha,

    please help me!
    Always related to my first post, I thought, I only have to update my catch-evolution-pro license from 3.6 to 4.0.2 (it was expired at 2020.11.7). I did it today in order to solve my problems, unsuccesful. Do you remember? I use a child-theme to customizes appearence of my site and all those personalisations are wrote in “style.css”. Please, take a look on the site (www.astrolive.ch), you will see what I mean. It seams that this file will be not considered anymore and I really don’t know what I have to do to solve this issue.

    Please let me know if you need further information about.

    Thanks a lot in advance for your help!
    Ernesto

    #267786
    Serpagli Ernesto
    Participant

    Hi Skandha,

    in the meanwhile I have deeper searched for a possible reason.
    If I exclude Style.css from my child-theme, the site will back
    to the original catch-evolution-pro appearence. This means that style.css
    is more or less working, unlike what I told you.

    I have also to tell you that yesterday I have updated WP from V5.53 to V5.6. Starting from
    this point i recognized this big problem with displaying of the site.
    Perhaps this additional information can help you further.

    Bye
    Ernesto

    #267819
    Sakin
    Keymaster

    Hi Ernesto,

    What is your child theme used for? Is there just CSS edits, if so then I recommend moving your edited CSS to “Appearance => Customize => Additional CSS” and just use the parent theme itself. But if you have done advance customization then yes, you need a child theme.

    There might be an issue with plugins as you said it was working before. So, please update your plugin and also check or cache, minify plugins for settings. Also if you are using Cache plugins then you need to clear the cache and minify plugin to reset it.

    There might be an issue of incorrect settings in the child theme. So, we need to check your child theme functions and CSS.

    Also, let us know what is your main issue.

    Regards,
    Sakin

    #267859
    Serpagli Ernesto
    Participant

    Hi Sakin,

    thank you for your answer.

    Child theme will be used for additional customization too and all plugins are updated. Regarding this topic, i temporarily deleted style.css located in ..\wp-content\themes\catch-evolution-pro-child\ and moved it CSS-content into “Additional CSS” (about 400 lines of code) in order to activate my customizations directly from WP. No effect on the appearence.

    Basically, I cannot understand why if I add few lines of code in style.css, these changes will be not considered, if i put this lines into CSS-additional they will be considered! In the past I could change pages in a very confortably way.

    As second action I tried to exclude each plugin one by one. The only positive response was by deactivating of W3 Total Cache plugin.
    The main menu was displayed again in the right appearence and position. Unfortunately, other troubles remained !

    Before I started upgrade 5.6 of WP I did a complete backup of last installed version 5.33 (database + home_directory). I could downgrade the system if you mean that I can better recognize source of troubles. What do you think about?

    Please let me know how you want to proceed in order to check child-theme functions and CSS.

    Thanks a lot for your appreciated support

    Bye
    Ernesto

    #267903
    Sakin
    Keymaster

    Hi Ernesto,

    I see the issue from your reply “The only positive response was by deactivating of W3 Total Cache plugin.”. So, this is clearly a cache issue. As W3 Total Cache does a lot of caches and any changes in files will not show until you clear your cache.

    The Additional CSS is not cached by W3 Total Cache and it only caches the theme files. This is the reason that it works in Additional CSS and doesn’t in the child theme file. So, clear your W3 Total Cache plugin cache files.

    Please read this on how to clear cache https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress/

    Regards,
    Sakin

    #267995
    Serpagli Ernesto
    Participant

    Hello Sakin,

    I followed all your advises, its means, manually emptying via ftp of cache-directories, from W3 Total Cache (it was already deactivated but I reactivated it and after emptying deactivated one more time), finally emptyng of browser cache but the problem persists.

    Might be that I missed important information/modifies in the last time regarding new versions of WP and Catch Evolution Pro ? Its means, new or deprecated functionalities or something like this? I tell you that because I’m not daily working on the site and generally with web-designing. I recognize that the environment of WP is not the same, for example, if I create a new post, this will be displayed with a white background color (since WP 5.6). Before, the post tok the same background like the page, the same for existing and new images etc.. I found more of such strange things…perhaps upgrades have changed basic settings on default set…

    I keep on searching! Please let me know If you have further ideas.

    Thanks a lot for your sappreciated support!

    Bye
    Ernesto

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Child-theme: a new entry in Style.css doesn’t work’ is closed to new replies.