-
AuthorPosts
-
June 21, 2022 at 10:17 am #1355967
We have updated our website to the latest enfold 5 theme. Since then, it seems that the custom.css is not being used, we can only see the dynamic_avia/enfold_child css. We have disable all caching plugins (also in the theme itself), but it still does not load the custom.css.
June 21, 2022 at 11:31 am #1355980Hey kariem112,
Did you activate the option to delete the old CSS and JS files under Enfold->Performance? If that doesn’t help, then please include admin WordPress login details in private, and let us know which CSS is not applying.
Best regards,
RikardJune 21, 2022 at 11:35 am #1355982This reply has been marked as private.June 21, 2022 at 4:56 pm #1356023Hi,
Thanks for that. If you want to use a separate style sheet file in your child theme, then please try to enqueue it first in functions.php:
function enqueue_custom_css () { wp_enqueue_style( 'custom-styles', get_stylesheet_directory_uri() . '/custom.css', array(), '1.0', 'all' ); } add_action( 'wp_enqueue_scripts', 'enqueue_custom_css' );Otherwise you could simply use style.css.
Best regards,
RikardJune 21, 2022 at 5:17 pm #1356026This reply has been marked as private.June 21, 2022 at 8:46 pm #1356057Hi,
There is padding applied to that element, is that what you are trying to get rid of? If you have a screenshot highlighting your intentions, then please share that with us.
Best regards,
RikardJune 21, 2022 at 9:03 pm #1356059This reply has been marked as private.June 22, 2022 at 9:43 am #1356104Hi,
You have this CSS coming from your child theme:
@media (min-width: 1600px) { .service-boxes .iconbox_content { min-height: 490px !important; } }I can’t find the actual CSS in the child though, so maybe it’s coming from cache?
Edit; it’s added in Quick CSS in the English language, I checked Dutch only at first.
Best regards,
Rikard-
This reply was modified 2 years, 10 months ago by
Rikard.
June 22, 2022 at 9:44 am #1356106This reply has been marked as private.June 22, 2022 at 10:03 am #1356118Hi,
Did you read my edit above?
Edit; it’s added in Quick CSS in the English language, I checked Dutch only at first.
Best regards,
RikardJune 22, 2022 at 10:18 am #1356120This reply has been marked as private.June 22, 2022 at 10:51 am #1356129Hi,
Great, I’m glad that we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJune 22, 2022 at 1:13 pm #1356148You can close it, thanks again!
June 22, 2022 at 3:16 pm #1356166Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
This reply was modified 2 years, 10 months ago by
-
AuthorPosts
- The topic ‘Enfold keeps using dynamic avia instead of custom.css’ is closed to new replies.
