• I have created a child theme using the one-click child theme plugin and added the @import url(“../catch-box/style.css”).

    This isn’t working. I have tried to create another child theme manually using my FTP client and copied and pasted the style.css theme from the parent, just adding the template line in, but thats not working either.

    Where am I going wrong? Is it a theme problem or (more likely), how am I going wrong?

    Any assistance would be appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter kimbly.george

    (@kimblygeorge)

    Hi Krishna

    Thanks for the reply. I used that exact page to help me conduct my first attempt at a child theme. I followed it to the letter, but still nothing.

    Thanks anyway.

    Hi kimbly.george

    This is the basic code to make the child theme which should be inside the style.css file of your child-theme folder.

    /*
    Theme Name:     Catch Box Child
    Theme URI:      https://example.com/
    Description:    Child theme for the Catch Box theme
    Author:         Author name here
    Author URI:     https://example.com/about/
    Template:       catch-box
    Version:        1.0
    */
    
    @import url("../catch-box/style.css");

    Hope this helps.

    Regards.
    Sanjiv

    Thread Starter kimbly.george

    (@kimblygeorge)

    Hi Sanjiv

    I copied and pasted your code into the style.css for the child theme and still nothing.

    Thanks for your help anyway.

    Kind regards

    Kim

    Hi kimbly.george

    I just checked it in the localhost and it is working. There must be other sort of problems. Is the child theme showing in the manage themes. Can you send the details or some reasons that might have caused the problem?

    Regards
    Sanjiv

    Thread Starter kimbly.george

    (@kimblygeorge)

    Hi Sanjiv

    I just rolled forward to the latest version of Catchbox so all the additional templates and changes I made to the files have been removed.

    I cannot understand it. The web address is https://www.pecuniaveritas.co.uk. I have activated the child theme. From what I understand the @import function should ensure that the css file from the catchbox theme is used.

    Does the same apply to page templates? Do I need to add any function to the main theme to recognise that I have added a child theme?

    I’m sure I am doing something wrong and any assistance you could provide would be appreciated.

    Hi kimbly.george

    In your child theme css you have successfully loaded the parent theme css but I see that some css are still missing. I think you are using catch-box version 1.1.2. Please update to the latest version 1.1.3.2 and see if any of your problems get solved. We have fixed some issues related to the child theme compatibility and submitted the new version update which will be available in few days.

    Regards.
    Sanjiv

    Thread Starter kimbly.george

    (@kimblygeorge)

    Hi Sanjiv

    The @import function still hasn’t been working for me, so I literally copied and pasted the CSS from the parent to the child.

    I will update to the latest version and then check for updates in a few days time and try the @import function again.

    Thanks so much for your help.

    Kind regards

    Kim

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Child theme not working’ is closed to new replies.