This tutorial provides the step to add SVG shape dividers in Startup Pro theme based on what we have recently created in Genesis Sample.
You can add these SVG shapes between front page widget area in the child theme. Works with any child theme based on Genesis Framework.
- Create a Widgetized front page if not present.
- Go to Appearance > Customize > Header Media. Add Default Image. It is required to show the featured image on other posts.
- Open front-page.php and remove ' . $custom_header . ' from front-page-1 section area to not output header Media for this section.
- Go to Appearance > Customize and Startup Pro Settings. Hero Section Divider to None.
Gradient Angle 0.
Recommended to read SVG Shape dividers in Genesis
Create a file shape-dividers.php under child-theme/templates/ folder. Call this file using this in child-theme/functions.php
// Adds Shape dividers shortcodes. require_once get_stylesheet_directory() . '/templates/shape-dividers.php';
Remember the file path here.
To view the full content, please sign up for the membership.
Already a member? Log in below or here.