Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #586026

    Hi, in order to avoid css changes being overwritten I’ve been editing the themes/enfold-child/style.css file in a text editor rather than using Quick CSS or Appearance/Editor. However I was having trouble making some menu css edits take effect and tried in the Quick CSS window and it worked. Am I editing the correct file?

    Just to double-check, what css file should I use to make changes on the site and how will I avoid it being overwritten when Enfold updates take place?

    Thanks,
    John

    #586107

    Hey johnmac1967!

    Quick CSS field is the right place. We recommend to use a child theme: kriesi.at/documentation/enfold/using-a-child-theme/

    Cheers!
    Andy

    #586115

    Sorry, that’s not what I meant. I AM using a child theme. I don’t want to make my changes in the quick CSS window as it’s tiny and I usually have a lot of css code. I would like to use a text editor to make my changes. Can you tell me what css file I should be adding my code to and whether it will be overwritten by Enfold updates?

    I used the style.css file in the Enfold Child folder but some changes made weren’t working (see above). What file should I use?

    Thanks.

    #586720

    Hi, I would appreciate an answer as soon as you can as unfortunately you didn’t read my question properly when you gave me the above answer and as yet have not answered my reply which was delivered two minutes after your reply. This was two days ago (I do understand its the weekend but I have had tech support from you at the weekend before).

    Thanks.
    John

    #586746

    Hey!

    if you are using a child theme, then you can add your CSS changes inside the style.css file.
    Sorry for the delay, but we work based on priorities and when posting a reply, the topic goes to end of the line.

    Thanks a lot

    Best regards,
    Basilis

    #586761

    Thanks Basilis. Strangely though when I make changes on themes/enfold-child/style.css it often doesn’t apply them to the page yet when I make them on themes/enfold/css/custom.css the changes take effect.

    Is it okay to make changes to the themes/enfold/css/custom.css file or will this be written over by Enfold updates?

    Thanks for your help.

    #587659

    Hi!

    It is okay to make changes on custom.css file but it would be overwritten when you update the theme. You can try using !important rule as following in your codes

    body { font-size: 16px !important; }

    Cheers!
    Yigit

    #587660

    Thanks Yigit, can you explain why when changes are made in the custom.css file they take effect on the page and yet when I make them in the styles.css file in the Child Theme they often don’t. Most changes work but changes to things like dropdown menus do not take effect unless made in the custom.css file.

    #587665

    Hi!

    You may have error in your custom CSS code. If you do not mind creating a temporary admin login and posting it here privately, we can look into it.

    Best regards,
    Yigit

    #587667

    Thanks Yigit. It’s on my local drive at the moment but as soon as I upload it I’ll contact you.
    Thanks for the quick response.
    John

    #587679

    Hi!

    Alright John! We will keep the thread open and wait to hear from you. It will be on hold until you reply.

    Best regards,
    Yigit

    #593048

    Hi,
    I’ve created a login for you to have a look at the above problem.

    The child theme file is in the usual place themes/enfold-child/style.css – changes to this file often do not work. Changes made to the below file work fine but this file will be overwritten when Enfold updates, is that correct?

    wp-content/themes/enfold/css/custom.css – changes made to this file work fine.

    I would be grateful if you could look at this. I’ve attached my logon and ftp info. Something must be preventing changes made to style.css from taking place.

    Thanks,
    John

    #595175

    Hi!

    changes to custom.css won’t be overwritten. However, we strongly recommend to use a child theme: kriesi.at/documentation/enfold/using-a-child-theme/

    Regards,
    Andy

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