• Hello ,
    I created child theme with name virtuechild.
    i want to edit header.php so i copied header.php from parent theme to child theme /virtuechild/header.php.
    but changes are not appearing.
    i tried making templates folder and adding header.php to it but still no luck.
    https://cardmart.tk

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter rdxcsgoid

    (@rdxcsgoid)

    Yes Yes , it appears now

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you copy all of the code of your Child Theme header.php file and put it into PasteBin, and link us to that?

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    here sir , it is same as of parent theme . when i make any changes to header.php it is showing perfectly but menubar isnt showing and footer columns too
    https://pastebin.com/4pyBuJbH

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If you re-do those theme settings in the dashboard, do they appear?

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    No , i saved setting again but still not showing.

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    Hey , i got it
    I have to go to menu and choose my primary menu bar again.
    My widgets are not there in child theme. thats why footer columns are not showing.
    Whats worng with this theme child theme? why there are no widgets?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It may mean you’ll have to re-set your theme options again, maybe widgets too. Think of the process of activating a Child Theme the same as activating any other theme.

    Thread Starter rdxcsgoid

    (@rdxcsgoid)

    the other way is to delete this child theme & keep working with the main theme hehe
    Thanks andrew !
    i really appreciate your help ! ??

    Just a note to this if your wanting to override the header you would use the “header.php” file in the “templates” folder.
    So in your child theme it should be “childtheme/templates/header.php”

    Kadence Themes

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘child theme’ is closed to new replies.