Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1318666
    Steve C
    Participant

    I am working on a site for a client http://www.epsilontranslations.com and the child theme css is being ignored. I have added !important after the edits to ensure that they override correctly, but with no luck.
    I have also tested the css in customizer instead and it works fine, although that is not the best way for me to add custom css to the site / child theme.
    Please could you tell me why this is not working.
    I’ll be happy to provide more info if you need it.
    Thanks,
    Steve

    #1318780
    Darshana
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Also provide us with the sample CSS rules that you have tried and the relevant page URL(s).

    Thanks!

    #1318810
    Steve C
    Participant
    This reply has been marked as private.
    #1319082
    Joao
    Moderator

    Hi There,

    It does work.

    You have the code :

    .x-topbar, .x-colophon.bottom {
    background-color: #e5e4dc !important;
    }

    And it is working.

    Let us know if you have further questions,

    Cheers

    #1319122
    Steve C
    Participant

    I’m afraid that it’s not working at all my end. I’ve been writing my css in customizer rather than using a child theme which is why it was displaying correctly.

    As soon as I remove it from customizer (Additional CSS) it no longer calls the style.css from the childtheme – even though I have moved all the css to the stylesheet ‘style.css in the child theme.

    As far as I can tell there are no caching plugins installed and I have tried deleting both my browser and dns cache without any change to the site.

    Please could you check again and let me know what to do to get it working.

    #1319283
    Joao
    Moderator

    I am getting

    “ERROR: Your answer was incorrect – please try again.”

    But there is no question or anything on the wp-admin login, would you mind turning off your security plugin that generates that in order that we can login?

    If you dont have anything like that, please confirm your WP admin credentials above are correct.

    Cheers

    #1319330
    Steve C
    Participant

    There is a third box under the logins to enter an answer to a maths question. It’s like a captcha, you just need to get the answer correct.
    I’ve tried it and I can login without any issues.

    #1319794
    Friech
    Moderator

    Hi Steve,

    That code Joao’s shows above is in your child theme and it does work.


    screenshot

    Is there a chance that you’re editing the wrong style.css file?

    Thanks.

    #1322270
    Steve C
    Participant

    Thanks for your patience with this. When I checked this morning it seems to have corrected itself, but as soon as I try to make any edits it simply won’t update the styles??

    I am editing the file here: /public_html/wp-content/themes/x-child/style.css.
    The strange thing is that even if I delete the file it still loads correctly?

    — I’ve managed to get the site to show the updates I did once this morning and now nothing is updating as it should anymore.

    Do you have any idea what could be causing this? Is there a way to check whether the hosting is caching the site?

    #1322310
    Steve C
    Participant

    I have just figured out what was causing the issue. There was some caching enabled within the hosting control panel which I have now disabled and it seems to be working better.

    #1322313
    Christian
    Moderator

    The only way to know that is to contact your hosting provider if they have internal or server level caching.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1318666 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>