• Resolved johnnyr860

    (@johnnyr860)


    My site can be viewed here.

    Here is a screenshot of how it is supposed to look like based on the Unite theme template: https://www.flickr.com/photos/126659175@N02/16202510970/

    If you notice the link to my website there is no purple in the template and my theme (which is a child theme) looks nothing like the actual Unite wordpress theme which is the parent theme I have installed. My child theme is activated already.

    I also noticed that the child theme when I go to appearance> editor there is no header.php or footer.php so I have absolutely no clue how to edit the head and footer code of my website in the child theme for when I need to make changes. Help is appreciated.

Viewing 15 replies - 1 through 15 (of 18 total)
  • https://www.creativeonlinegenius.com/ 404 error nothing found

    Thread Starter johnnyr860

    (@johnnyr860)

    I don’t know why that would come up. I just tried this in another browser that I am not logged into my website at and it views fine that is strange that you would get that message.

    https://www.creativeonlinegenius.com/home/ works but there is not content.

    Did you follow this, https://codex.www.ads-software.com/Child_Themes when building your child theme?

    Does everything look ok when just your theme is running?

    This code should not be in your style.css file – it’s php code:

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );

    It’s supposed to go in the child theme functions.php file – as we discussed yesterday :).

    Thread Starter johnnyr860

    (@johnnyr860)

    Oh no no I should have specified I have not inserted my content yet there’s a reason is because I’m trying to fix the template itself before I start working on the actual site itself and the template in child the me looks nothing like the parent theme.

    Yes I followed the directions on the link you posted in fact I opened up a thread last night just for help on installing a child theme and it took me 2 hours to finally get it and even in then it doesn’t look like the parent theme.

    Thread Starter johnnyr860

    (@johnnyr860)

    Yes hello the code you pasted here is the EXACT code that I copied and pasted in my child theme it’s in there right now. I took care of that last night but the theme still looks nothing like the parent theme.

    code you pasted here is the EXACT code that I copied and pasted in my child theme it’s in there right now.

    You have two files in your child theme folder right? functions.php and style.css

    Which file is that code in?

    Thread Starter johnnyr860

    (@johnnyr860)

    I’m sorry I should have specified there is no “child theme functions.php” I don’t have any .php files in my child theme at all. The code I have I inserted that to the end of the styles.css file I created for the child theme.

    I don’t know what this functions.php file is as I never made one.

    So, don’t put the PHP code in the style.css file.

    Thread Starter johnnyr860

    (@johnnyr860)

    Then where does it go? Because when I remove the code the problem still continues so it doesn’t make a difference if I remove the code since the template still looks exactly the same.

    Create a functions.php file in your child theme folder. The code goes in that.

    Thread Starter johnnyr860

    (@johnnyr860)

    Well it works but unfortunately the text in the links to the menu bar are showing up in grey color when they are supposed to show up in white not grey. Also there is a white border around the entire template that was not there with the original Unite template that I don’t know how to get rid of.

    I also still do not have access to the header.php or the footer.php as that is not a part of the child theme so I wouldn’t know how to edit the header and the footer of my site when I need to.

    After all that, you might be better to go to the theme dev to ask for support.
    https://colorlib.com/wp/forums/

    I also still do not have access to the header.php or the footer.php as that is not a part of the child theme so I wouldn’t know how to edit the header and the footer of my site when I need to.

    EDITED – make a copy of the parent theme file that you want to change and put that file in the child theme – change that one.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Child theme looks nothing like the parent theme how do I fix this?’ is closed to new replies.