Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
If you modify the theme’s original files, your changes will be lost once the theme updates.
many thanks! that definitely worked.
also, is there a way to take out the contact form and to change the colour of the header and footer?
Thanks Andrew, that’s what I thought, and why I put in the child theme.
any idea why the code didn’t work in the child css?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Does any style work in the child css?
I just tried put this in to change the colour of the post text:
#body{color:#000!important;}
and nothing happened. should I reinstalling the child theme?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you post here the contents of your Child Theme stylesheet? If the file is too large, may you use http://Pastebin.com ?
/*
Theme Name: Theron-litechild
Description: Child theme for the theron-lite theme
Author: ML
Template: theron-lite
*/
@import url(“../theron-lite/style.css”);
#copyright{margin-top:60px;}
#body{color:#000!important;}
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Have you activated the Child Theme through the dashboard?
thanks! of course, that was the problem.
I activated it, but now I’m getting a 500 internal server error and can’t log into the site…any ideas?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What files consist within your Child Theme?
just the stylesheet and footer.php
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
The problem may be within your footer.php file.
ok thanks. I deleted the footer sidebard code at the top earlier, but then repasted it back in.
Is there any inconsistency here?
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser. ]
<!--FOOTER SIDEBAR-->
<?php if ( is_active_sidebar( 'foot_sidebar' ) ) { ?>
<div id="footer">
<div class="widgets"><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widgets') ) : ?><?php endif; ?>
</div>
</div>
<?php } ?>
<!--COPYRIGHT TEXT-->
<div id="copyright">
<div class="copytext">
<?php echo of_get_option('footer_textarea'); ?>
<?php _e('Theme by', 'theron');?> <a href="http://www.towfiqi.com/">Towfiq I.</a>
</div>
<!--FOOTER MENU-->
<div id="footmenu">
<?php wp_nav_menu( array( 'container_class' => 'menu-footer', 'theme_location' => 'footer', 'depth' => 0, 'fallback_cb' =>false) ); ?>
</div>
</div>
</div><!--Center Wrap END-->
<?php wp_footer(); ?>
</body>
</html>
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I don’t see any inconsistency, but what is different on this footer.php file than the parent’s?
ok cool, i don’t see any inconsistency either. to be sure, i pasted the parent footer.php back into the child footer.php and refreshed the site admin.
No luck! still locked out..
Would it be an option to deactivate the theme and reinstall it?