Divi Template for Posts
A post template allows you to format posts in a similar manner. This is useful when you have a group of posts with the same category, and don’t want to format each one one at a time (or clone pages).
- Step 1: gather ingredients
- Create a new category
- 3 blog posts with a feature image for each post, some copy and some other images. Assign the blog posts the new category.
- Possibly a hero image transparent png sized at 2560 x 1345 (to lay over a background gradient)
- Step 2: Make a new template
- DIVI>Theme Builder>Add new template.
- Select post categories that you want it to apply to (i.e. “new category” which you made in step 1)
- Click into custom body, add custom body, build from scratch
- DIVI>Theme Builder>Add new template.
- Step 3: Section 1 – header:
- Insert full width column. Go back, edit top section (hero row), add custom gradient, transparent png image.
- Spacing>padding>7vw top and bottom
- Add text module, change to dynamic content (hover over text area, stacked battery with plus icon) select “post or archive title”
- Click gear icon to stylize.
- Before: add <h1>
- After: add </h1>
- Design tab – modify text styling [note if you have set up custom css, defaults will pull in, can override]
- Step 4: Section 2 – feature image:
- Add section, regular. Add row 2/3 :: 1/3
- Left col: image block, design image module.
- Design tab image>spacing>margin>top -9v [so it overlays your section 1 header); then 0vw for tablet
- Add box shadow
- Right col: add blurb module. This can be for author, etc. Can clone for multple lines of different items
- Add row: post article, format
- Add row: post content, format [for row of additional feature post blurbs]