Tagged: x
-
AuthorPosts
-
April 9, 2016 at 5:35 pm #874532
Frank SParticipantDear Themeco,
I tried to update to the newest version of X, (April 9th, 2016), but upon doing so my site completely breaks! I reverted back to the old theme.
Is there a link to any information on what to do when this happens? Should I just wait for the next update and hope for the best that the next one does not break my site?
I own 3 X licenses now, one for me and two for friends that I have built sites for. I need to know what to do when an update breaks the sites.
Please let me know. Thanks.
April 10, 2016 at 4:12 am #874978
ChristianModeratorHey Frank,
If you’re using the old child theme structure, that could be the case. Please see https://community.theme.co/forums/topic/child-theme-updates/ for more details.
Basically, to fix this quickly, please add the code below in your functions.php
// Enqueue Parent Stylesheet // ============================================================================= add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );Then, delete the @import line in your style.css
Hope that helps. 🙂
April 12, 2016 at 6:02 pm #879070
Frank SParticipantPlease forgive the ignorance. But should the final functions.php code include all below or should any part be deleted?
<?php
// =============================================================================
// FUNCTIONS.PHP
// —————————————————————————–
// Overwrite or add your own custom functions to X in this file.
// =============================================================================// Enqueue Parent Stylesheet
// =============================================================================add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );
Also, do I just delete the @import line in style.css? Do I not need to replace it with anything? Thank you very much.
April 13, 2016 at 5:30 am #879736
ChristopherModeratorHi there,
Yes, both are correct.
If you need further assist provide us with URL and login credentials.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-874532 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
