Skip to content

Child Theme

    Child Theme

    WP Child Theme

    A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.

     

    Note: ThemeName= Parent Theme

    /*
     Theme Name: ThemeName Child
     Theme URI: http://DomainName.com/ThemeName-child/
     Description:ThemeName Child Theme
     Author: Your Name
     Author URI: http://DomainName.com
     Template:DomainName
     Version: 1.0.0
     License: GNU General Public License v2 or later
     License URI: http://www.gnu.org/licenses/gpl-2.0.html
     Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
     Text Domain: ThemeName-child
    */Child Theme
    
    /* Add your custom css below this line */

     

    /*Head START*/

    .navbar {background: url(http://…./wp-content/uploads/header.jpg) center no-repeat;}
    /*HEAD FINISH*/

    /*MENU START*/

    .navbar-nav {position: fixed;font-size: 30px; left: 50%;top: 0%;}
    .navbar-form {position: fixed; right: 50%;top: 0%;}
    /*MENU FINISH*/
    /*BODY START*/

    body {
    background: black url(http://…./wp-content/uploads/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    }

    Join the conversation

    Your email address will not be published. Required fields are marked *