Create Own Name Twenty Eleven WordPress Child Theme With CSS

WordPress default twenty eleven theme is quite simple for customisation  and easy to edit with your own css. But all twenty eleven changes must be done using child theme. This does not change the current theme  structure and never create any problem in future when upgrading new WordPress version.  WordPress allows you to make child theme for twenty eleven. This is easy to make child theme using inherit  functions of parent twenty eleven theme. Let us create own name child theme. Before starting connect site to server using ftp. Now make a new child theme style.css file using notepad.

/* Theme Name:  bloggerbonus Child Theme  // change your name
Theme URI:      http: //www.bloggerbonus.com    // your blog uri
Description:    Create own Child theme
Author:         Mukesh               // your name here
Author URI:     http: //www.bloggerbonus.com/about/
Template:       twentyeleven
Version:        0.1.3 */

@import url(“../twentyeleven/style.css”);

Save above given all lines in notepad as a style.css file name. Now change them name, theme uri, author name and author uri as per your own interest. The last line @import url(“../twentyeleven/style.css”); inherit and call the twenty eleven function to child theme.

style Create Own Name Twenty Eleven Wordpress Child Theme With CSS

Now add your css below this line and customize your child theme. A simple css example given below for wordpress theme.

body {
background-color: #ffffff;
background-image: inherit;
color: #000000;
font-family: Gisha, Terminal, Verdana;
font-size: 16px;
font-stretch: normal;
font-variant: normal;
font-weight: normal;
line-height: 20px;
list-style-image: inherit;
word-spacing: 1px;
}

blogger bonus twenty eleven child theme by mukesh Create Own Name Twenty Eleven Wordpress Child Theme With CSS

All you need to connect your hosting server using ftp application and make a new directory for child theme under theme folder in wp-content directory where you have to transfer style.css file to child theme folder using ftp software and save in it. Now go to appearance tab from wordpress dashboard select themes now you can see child theme in available themes. Select activate and your twenty eleven child theme is live now reload webpage and see the difference.

Tags: ,

Category: Tech News

About the Author ()

Article by Visit at page or Google profile page to know more. If you like this post subscribe bloggerbonus.com by Email. Follow us on Twitter, Facebook and Google plus. If you are interested to write guest post, submit here.

Leave a Reply

Use original name for comment approval.
Please do not write all in capital letters.
Get Alert Via Email
open in new window

CommentLuv badge
What is 8 + 12 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)
website
blogger template