Tagged: CSS
-
AuthorPosts
-
November 4, 2016 at 11:24 pm #708469
I’m trying to set up this and found the answer below…
but adding the line to functions.php breaks my website – error 500.
Any idea of what may cause this?Thanks!
November 5, 2016 at 1:39 am #708492Hey acuginotti,
It’s possible that the same code is already added to the functions.php
It could also be because the code is added inside another function. Make sure the code is added in the right place as mentioned in the link or at the very bottom of the functions.php file if you are using a child theme.Please check the page if the code is already added or commended by pressing “Ctrl + F” to bring up the search bar on the page.
If you still have any issues Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
VinayNovember 8, 2016 at 1:22 am #709581Hello Vinay,
Searched for it and it’s not on functions.php – perhaps somewhere else?
Login credentials included.
Best,
Augusto
November 9, 2016 at 6:10 am #710042Hi Augusto,
I see that you are not using a child theme, you will lose your edits on updates if you don’t use one. Could you try installing a child theme and doing your edits there instead maybe? You can download one from here: http://kriesi.at/documentation/enfold/downloads/
Best regards,
RikardNovember 9, 2016 at 10:30 pm #710472Hi Rikard,
I did that and imported all the elements from the Parent Theme, but then my website changed colours and I’m not sure what went wrong.
Is there a way to add the [add_theme_support(‘avia_template_builder_custom_css’);] without a child theme?Thank you.
November 11, 2016 at 10:12 am #711039Hey!
At the bottom of functions.php of the Enfold theme you should see this:
/* * add option to edit elements via css class */ // add_theme_support('avia_template_builder_custom_css');
You just need to remove // for it work. I’d like to enable it but since you mentioned that it breaks the site I didn’t continue, would you give us a temporary ftp access, so if incase it breaks we can just comment it again and try something out (using WP theme editor is a bit risky since if it breaks the site we wouldn’t be able to access anymore).
Regarding the use of child theme, if you would like to retain the settings of the parent you just need to go to Enfold Child > Import/Export and click on Import Parent Theme Settings, for more information on how to use the child theme check this thread: http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
NikkoNovember 12, 2016 at 2:46 pm #711444Thank you Nikko, it worked like a charm.
My site was breaking because I searched for functions.php and was editing the wrong one at wp-includes… : /
Cheers,
A>November 12, 2016 at 4:23 pm #711451Hey!
Glad we could help :)
Regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.