• Guys,

    I have created a child theme for Customizr but whatever I add to the stylesheet.css of my child theme, I don’t see any changes.

    My child stylesheet begins as follows:
    ———————
    /*
    Theme Name: Customizr-Child
    Version: 1.0
    Description: A child theme of Customizr
    Template: customizr
    */

    @import url(“../customizr/style.css”);
    ————-

    Two questions:

    1) What do I need to do to make my child theme work?

    2) Also, I copied and pasted class-header-slider.php file from the “parts’ folder of Customizr into my Customizer-child folder to make some modifications to it but I got an error message.I have to remove it again.
    Any idea what I need to do?

    Thanks!

Viewing 15 replies - 1 through 15 (of 17 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try validating your CSS for syntax errors
    https://jigsaw.w3.org/css-validator/

    Thread Starter Cking

    (@jalinous)

    Thanks.

    I use to validate my style.css and got the following message:
    “Congratulations! No Error Found.”

    Any other idea?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link your site?

    Thread Starter Cking

    (@jalinous)

    Here you go:
    https://www.provectussensors.com

    Thanks for the help!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Does this work:

    body {
     border: 10px solid !important;
    }

    ?

    Thread Starter Cking

    (@jalinous)

    No -:(!

    I don’t see any change on my home page.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Clear your cache, there should be a 10px grey border around your site.

    Thread Starter Cking

    (@jalinous)

    Ok. I can see the border line now.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    That should indicate that your style.css file is being read, your syntax check indicates that your CSS is systematically correct and so I think the issue you face is from CSS Specificity.

    Are you using specific enough selectors?

    Thread Starter Cking

    (@jalinous)

    Not any that I am aware of.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What style doesn’t work and to which element?

    I copied and pasted class-header-slider.php file from the “parts’ folder of Customizr into my Customizer-child folder

    Did you copy to Customizr-child? Should copy to Customizer-child/parts

    Thread Starter Cking

    (@jalinous)

    A couple things but the ones that I am struggling with right now are:

    1) I would like to move my tagline : “Your Partner in MEMS | Sensors | Modules| Sensor Solutions” further to the left as I noticed that in some browsers (e.g. Chrome) the last part (Sensor solutions) jumps to a second line.

    Ideally, I would like to try to center the tagline to see what it looks like.

    2) In Chrome, when I click, for example, on “Products” in the menu bar, the multiple choices cover the product categories following the selected one. In Internet Explorer, it looks ok as the subgroups are shown on the right side and they do no cover the category below the selected one.

    Thanks!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    1) You need to hide the element that precedes your tagline so that its has no width, for example:

    .navbar .social-block {
     display: none;
    }

    Then you can float the tagline left:

    .navbar-wrapper .navbar h2 {
     float: left;
    }

    Thread Starter Cking

    (@jalinous)

    I copied it Customizr-child.

    Do I need to set up the same folder structure in Customize-child as in Customizr?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Question on Customizer-Child theme!’ is closed to new replies.