Support » Theme: Twenty Twelve » problems with style.css in child theme

  • I have a twenty-twelve child theme with the following files: style.css, functions.php and footer.php

    There are problems with the style.css I can edit it but the changes are not visible to the visitor. He sees an old version of the style.css

    The functions.php and footer.php do work. I can make changes in these files and these changes are visible to the visitor.

    When I copy and import the css codes into the wordpress customizer, including new codes, the changes are visible to the visitor.

    I think the problems started some time ago when I tested a few css plugins. I don’t know the names of these plugins.

    Who can help me? I like to edit the css directly in the child theme.

    Willem

    • This topic was modified 8 months, 1 week ago by  Willem 2.
    • This topic was modified 8 months, 1 week ago by  Willem 2.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    Create functions.php and footer.php file again (without your changes) and check whether changes done in style.css working or not. If changes working fine then add your changes one by one in the functions and footer file and identify code which is creating problem.

    Best Regards.

    Ramanan

    (@superpoincare)

    The problem is that css is cached by the user’s browser. So he/she will see the newer version only when it’s removed from his/her cache.

    Use a plugin which minifies css. Usually these plugins name the file differently whenever you change and purge cache from the server. This makes sure that users will always receive the fresh copy.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.