get notepad++ (a good free text-editor)
https://notepad-plus-plus.org/
use it to create a new file and save it as style.css
add the following after changing https://yourwebsite.com etc to whatever you want and save
/*
Theme Name: Colormag Child
Theme URI: https://yourwebsite.com
Description: child theme of Colormag
Author: your name
Author URI: https://yourwebsite.com
Template: colormag
Version: 1.0.0
Tags: light, white, two-columns, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options
Text Domain: colormag-child
*/
create another new file and save it as functions.php
add the following and save
<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
}
open your site in filezilla, find a folder “public_html”, double click on it, then “wp-content”,then “themes”, then “colormag” and download footer.php (drag and drop it into a local folder, eg C:\Desktop\web)
open footer.php in notepad++ and remove the lines
<div class="footer-socket-left-sectoin">
<?php do_action( 'colormag_footer_copyright' ); ?>
</div>
and save the file.
Go back to the “themes” folder in Filezilla and create a new folder named “colormag-child” (right click in filezilla window & choose “Create Directory”)
Double click on the new folder named “colormag-child” to open it and upload the 3 files you have created (style.css, functions.php and your changed copy of footer.php)(just drag and drop them into the filezilla remote site window)
Go to Appearance => Themes in your WP backend and activate your child theme