Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1263894

    Hi,
    I write some styles in \wp-content\themes\enfold\css\custom.css, so I load the styles in a page and nothing happens. If I load the custom.css in a html page, out the wp, then it works. In the wp enviroment, the custom.css don’t load. the only way to add some styles is by the additional css, in the personalitzaion theme.
    Please, what can I do?
    Thanks in advance and have a good health!
    Joan

    #1263927

    Hi Joan,

    The reason it’s not loaded is probably because custom.css is not enqueued, please check WordPress’ documentation for it: https://developer.wordpress.org/themes/advanced-topics/child-themes/#3-enqueue-stylesheet
    Hope it helps :)

    Best regards,
    Nikko

    #1263960

    Thanks Nikko for your answer,
    The link is about working with a child theme, but I’m only working with the parent, there’s not a child theme…
    Any other suggesyion, please?
    Thanks in advance & have a good health!
    Joan

    #1263976

    Hi Joan,

    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
      ( to 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 an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1264031

    Hi Nikko,
    Thanks for your quick support. Here you have your credentials.
    Have a good health!
    Joan

    #1264222

    Hi,

    Thanks for that, the login details are not working though. Please check and verify.

    Best regards,
    Rikard

    #1264441

    Hi Rikard,
    Maybe you have a caracter, so I change the password.
    Thanks & Goog Health!
    Joan

    #1264550

    Hi Joan,

    Thanks, it seems to be loading properly when CSS file merging and compression is disabled in Enfold > Performance.
    If it is enabled, since it’s merged with other CSS files it does not seem to show up but the code is actually merged.

    Best regards,
    Nikko

    #1264598

    Thanks a lot Nikko & Goog Health!
    Joan

    #1264601

    Hi Joan,

    You’re welcome :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘don't load custom.css in wp’ is closed to new replies.