• Resolved KameramanDan

    (@kameramandan)


    Hi, has anyone successfully set up a child theme under Zerif Lite? I created one to store a tiny tiny bit of custom CSS and when I enabled it all my customisations disappeared (all the site text went back to standard) and the CSS went crazy, completely broke the theme….

    I don’t want to have to keep re-adding this CSS every time I update the theme… which seems to happen every few days…

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter KameramanDan

    (@kameramandan)

    My child theme (/themes/zerif-lite-child/) style.css is:

    /*
     Theme Name:   Zerif Lite Child
     Theme URI:    https://trafficpower.com.au/wp-content/themes/zerif-lite-child/
     Description:  Zerif Lite Child Theme
     Author:       Dan Power
     Author URI:   https://danpower.com.au
     Template:     zerif-lite
     Version:      1.0.0
     License:      GNU GPL
     License URI:
     Tags:
     Text Domain:  zerif-lite-child
     */
    
    .navbar-brand img{
         max-width: 200px;
         height: auto;
        }

    Hello,

    Please check this doc for creating child theme.
    https://docs.themeisle.com/article/14-how-to-create-a-child-theme

    Thank You.

    Hi Gourav,
    I have followed the instructions in the doc you referenced above to create a zerif-lite child theme. When I try to preview or load the theme, I get the following error message in my browser :

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/s/e/a/seanelwood/html/wp/wp-content/themes/zerif-lite-child/functions.php on line 9

    Hello @djelwood,

    Please recheck the your child theme with the documentation and find out where you have done wrong.

    Regards,
    Gourav

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child Themes’ is closed to new replies.