Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1059972

    hello!

    i want to change the color of the “add to cart” button (here in german “in den warekorb”), see this product:

    https://www.caucawa.at/produkt/schokolierte-bio-kakaobohnen-dominikanische-republik/

    i used this css comand:

    #top form.cart .button {
    
        background-color: #ff7d20 !important; }
    

    it seems to work when caching is not acitve ( i use WP Fastest Cache). when caching is active the color stays black

    how i can change that button to another color even when caching is active?

    thanks!

    #1060010

    Hey richardhofer83,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1060099

    here you go, thanks

    #1061474

    Hi,

    Thanks for that. The whole point of caching is to serve a static or almost static version of your site, so if you are making changes to it then it’s not a very good idea to have active caching. Here’s a guide to when having active caching is not a good idea. I would suggest that you either turn caching off while making changes on the site.

    Best regards,
    Rikard

    #1061575

    I know that i wont see changes when i work on the site and caching is active.

    but the changes dont take effect even after i clear the cache.

    understand that i dont want to waste your time with stupid questions. its just that i did several css changes regarding colour, font etc. and it all worked even with caching active (and after clearing)

    #1061664

    Hi,

    As you mentioned earlier, You may not see the changes until the cached files are cleared in your browser.

    Please perform the below steps to clear the browser cache:

    1. Disable “merging and compression” for CSS and JS files from Enfold > Performance.
    2. If a caching plugin is installed check the plugin settings and clear the cache and deactivate the plugins for testing purpose.
    3. Hard refresh by pressing Ctrl + Shift + F5 on your browser or press the F12 key to open chrome dev tools and right click on the refresh button and select “Empty Cache and Hard Reload”.

    Best regards,
    Vinay

    #1064034

    ok thank you, topic is solved for me

    #1064044

    Hi richardhofer83,

    Glad that we could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘CSS customization does not work when caching is active?’ is closed to new replies.