Support » Theme: Blaskan » [Theme: Blaskan] Syntax error child theme and changing colours

  • Hey guys,

    Whenever I try to install a child theme on my website and activate that theme in the wordpress I get a syntax error that shows up everywhere until i delete the whole child theme manually from my directory.

    This is the exact error that shows up:
    Parse error: syntax error, unexpected $end in /home/asuragat/domains/ child/functions.php on line 1

    Another question, where in the theme’s file can I adjust the colours of the body of the layout? The white that surrounds the header for example and where can I replace the buttons with my own design?

    Thanks for the help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • 1. Go to and paste there the content of the functions.php of your child theme, then paste the link to it here.
    2. In the file style.css of your child theme.

    Hey thanks for the quick reply! The only content of my functions.php is

    If this file is essentially empty, just delete it. It isn’t required for the child theme.

    Thanks, I deleted the file and the syntax error does not come up anymore. But now, when i activate my child theme the CSS is not working i guess because I only see content without the styling..

    This is what is in my child themes style.css

    Theme Name: Blaskan Child
    Theme URI:
    Description: Child theme for the Blaskan theme
    Author: Thomas Beukers
    Author URI:
    Template: blaskan
    Version: 1.0

    @import url(“../blaskan/style.css”);

    When I try to access the file /wp-content/themes/blaskanchild/style.css it gives me the error 404 Not Found. That’s why there’s no styling.

    ah stupid me, I named my directory blaskan child instead of blaskanchild :P. I updated it, but it still does not show up as it should. The background and the header are missing for some strange reason..

    Should I implent those again in the child’s style.css?

    Well, the <header> section is there. And what background are you talking about? Try posting a picture how the site should look like. Normally a child theme which has only the @import in its css looks exactly like its parent theme.

    here is what the websites looks like with the parent theme activated.

    The css is of the style.css looks a bit weird to me, I’m also trying to find the buttons to replace them and adjust the color of the body, because I don’t like the white stuff around the header, but I can’t seem to find it anywhere

    here is the parent style.css

    again, thanks for your help and patience! I appreciate it! 🙂

    In this theme the background & header are not set in the css but in the theme options. Go to Dashboard -> Appearance -> Background and Dashboard -> Appearance -> Header and set them there.

    Thanks, I adjusted the style.css file of the child, in that way I have more controllability than via theme options! one more question, how can I adjust / add DIV’s without the php file?

    ty 🙂

    adjust / add DIV’s without the php file

    I don’t think it’s possible. Unless you want create them with javascript.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Theme: Blaskan] Syntax error child theme and changing colours’ is closed to new replies.