• Resolved benpaddlejones

    (@benpaddlejones)


    Hi
    I’m helping someone fix issues on their website built overseas. Styles are not being applied (and possibly some need adding)

    WordPress 4.6 hosted on www.remarpro.com

    URL is: https://thinkchangegrow.com/

    The header.PHP has: <link rel=”stylesheet” type=”text/css” href=”<?php echo esc_url( get_template_directory_uri() ); ?>/css/custom.css”>

    HTML output is: <!– <link rel=”stylesheet” type=”text/css” href=”https://thinkchangegrow.com/wp-content/themes/thinkgrow/css/custom.css”&gt; –>

    I want to:
    a) edit the custom.css, but cannot find the file in the admin console to edit it, any ideas?
    b) understand why the line is commented out (<!– –>) in the HTML?

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • a) You’d need to get in the filesystem another way. Do you have FTP access? Perhaps you could use Simple Custom CSS instead?

    b) I’m guessing this is because of the WP Fastest Cache the site appears to be using. It’s concatenating and minifying all the CSS files.

    If new styles are not being applied, you may need to refresh the cache. I’m not familiar with WPFC though, this question might be more appropriate for its support forum.

    Thread Starter benpaddlejones

    (@benpaddlejones)

    Hi Leland
    Excellent, thanks for your reply. Yes FTP sounds right, I’m waiting for the overseas developers to get back to us re access.

    Thanks for advice on WPFC, you are correct I truned off min.js in settings and it stopped commenting out.

    Ben

    I wouldn’t necessarily advise turning that feature off completely.

    Presumably, when it’s commenting out one of the “complete” stylesheets (like custom.css), it’s concatenating and minifying it into a single stylesheet. So the styles would still be there.

    There should be some sort of “refresh” button somewhere to reload any new styles into the generated minified stylesheet.

    Thread Starter benpaddlejones

    (@benpaddlejones)

    Yes, just turned off to confirm your theory and turned back on.

    Thanks for the advice.

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editing Custom CSS’ is closed to new replies.