• Resolved robs23

    (@robs23)


    First, sorry if that’s a stupid question – I’m still a rookie in WP world ?? Now, I created a child them for OceanWP. I placed there functions.php and style.css downloaded from https://github.com/oceanwp/oceanwp-child-theme. After activating the child theme I noticed that all the settings I set in parent theme are now set to default (in child theme). All the css code I placed in Additional CSS is also missing.. What’s going on? I thought that WP will bring all the files (hence settings too) from parent theme in case a file can’t be found in child theme..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Please follow the link, this will help you in the understanding of the Child theme.
    https://www.youtube.com/watch?v=Wpc6FAsi7xI

    Thread Starter robs23

    (@robs23)

    Thanks Abhishek, but I know how it’s supposed to work. It just doesn’t work like that. To put it in other words: I had OceanWP fully configured to suit my needs and I wasn’t using any child theme. Now I want to modify functions.php so I manually created child theme and put only functions.php there. From what I understand, visually my site should be exactly the same, as only functions.php comes from child theme and rest of files are from parent theme, but it looks differently. And “Additional CSS” is also missing in the child theme. Is it how it’s supposed to work out not? I think not, but it’s my first child theme so I’m not sure

    Hi,

    Please try the official Oceanwp child theme.
    https://docs.oceanwp.org/article/90-sample-child-theme

    Thread Starter robs23

    (@robs23)

    ‘IMPORTANT: Switching To a Child Theme Notice:’ answers my question rightly. I’m sorry, probably I wasn’t clear enough that I had had already working setup and that I was moving it to child theme just at the time.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child theme – additional css is empty and there are no settings from parent’ is closed to new replies.