WordPress.org

Ready to get started?Download WordPress

Forums

Want to add Digtl clock in Header in empty space (10 posts)

  1. kampun
    Member
    Posted 11 months ago #

    I am new to webdesigning though I can follow some instructions. I have designed website using WP 3.5.1 by BlackBird theme. My site name is http://www.kampun.com
    In this site, in the header, there is my logo(with company name) in image form and at top-right side contact details(like cell no., Address etc.). In between there is space, I want to utilise the same for showing the digital clock. I tried to understand too much but eventually I didnt understand any thing.
    The link for my clock to be insterted is here:

    Expecting your help.
    I can provide more details, if needed.

  2. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 11 months ago #

    First you'd need to create a Child Theme.

  3. kampun
    Member
    Posted 11 months ago #

    Thanks for the quick response.
    I have started to make Child theme of BlackBird theme. In one step I am confused. When I see to activate the Child theme, it doesn't show any active link to Active link but it says "The parent theme is missing. Please install the "BlackBirdChild" parent theme."
    In the importing CSS function I have written following:

    @import url("../blackbird/style.css");

    I have doubt in above step. As I couldn't get the meaning of following description(in first line of following paragraph):


    Replace twentytwelve with the directory name of your parent theme. This line must go after the header code and before any other CSS rules. If you put other CSS rules before the @import, it will not work.

    Pl guide.

  4. kampun
    Member
    Posted 11 months ago #

    I made a serious mistake in this learning.
    By mistake, I have saved following as parent style.css

    /*
    Theme Name: BlackBird Child
    Description: Child theme for the BlackBird theme
    Author: Darshan Parmar
    Template: BlackBirdChild
    Version: 0.1.0
    */
    @import url("../blackbird/style.css");
    So I lost/replaced with original style.css. Now What is resolution?
    My fear is that I have created my website with lot of hard work and don't want to loose at least the current designed. To change/edit the parent theme is secondary thing for me. At the moment I have exported the data in XML format. But it has not exported the images or any multimedia content. Still the website is working.
    Can you comment now where I am now?
    Any reset or reinstalling required or what?

    Thanks and anticipating your quick response.

  5. kampun
    Member
    Posted 11 months ago #

    From my other cPanel I have received the style.css and restored the file. Now I have the question as second last question.
    Thanks and sorry for frequent questions.

  6. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 11 months ago #

    I don't understand, have you created a Child Theme?

  7. kampun
    Member
    Posted 11 months ago #

    Yes, I am on the process of creating the child theme. But unfortunately I came across one small problem. I didn't understand or guessing I have made any mistake.
    Restating the problem as under:
    In the process to create the child theme I have to use @import url("../blackbird/style.css"); and I have written in style.css as per following using normal editor of cPanel:
    /*
    Theme Name: BlackBird Child
    Description: Child theme for the BlackBird theme
    Author: Darshan Parmar
    Template: BlackBirdChild
    Version: 0.1.0
    */
    When I go to Administration Panels > Appearance > Themes, not able to find proper Theme(baby one) but saying the error msg: "The parent theme is missing. Please install the "BlackBirdChild" parent theme."
    Pl assist for creating the baby theme.

  8. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    This line is wrong:

    Template: BlackBirdChild

    It should be:

    Template: blackbird
  9. kampun
    Member
    Posted 11 months ago #

    Followed and done as per your advice.
    Now still following error:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    BlackBird Child The parent theme is missing. Please install the "BlackBird" parent theme.

  10. kampun
    Member
    Posted 11 months ago #

    Eventually I am able to prepare the child theme. There was case-sensetive texts in template name. So now I am ready to activate the theme.

Reply

You must log in to post.

About this Topic