Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Let's Get Visual!

Mary Baum
March 16, 2019

Let's Get Visual!

Combine modern CSS with the new block editor in WordPress, and what do you get? Better-looking pages and posts. More printlike layout options. And entire afternoons back from building typical WordPress patterns, like grids of posts and full-screen header images with type overlays.

Mary Baum

March 16, 2019
Tweet

More Decks by Mary Baum

Other Decks in Design

Transcript

  1. Real art direction
 on the web with modern CSS. http://labs.jensimmons.com

    Layout Land on YouTube Mozilla Developer Advocate The first three of those come largely from Jen Simmons, who with Rachel Andrew has been teaching us all modern CSS and real design for the web.
  2. Real art direction
 on the web with modern CSS. http://labs.jensimmons.com

    Layout Land on YouTube Mozilla Developer Advocate The first three of those come largely from Jen Simmons, who with Rachel Andrew has been teaching us all modern CSS and real design for the web.
  3. I come from print, and I’ve wanted to wrap type

    around shapes for YEARS. Shapes! from Jen’s Labs.
  4. Now, this is part of a bigger lab where Jen

    makes a Mondrian responsive.
  5. And here it is as a photo gallery. But oh,

    man. We’ve got better ways of doing that now!
  6. Now some themes! Here’s the site we’re all working on,

    according to one joke making the rounds. Kinda symmetrical - a Genesis child theme.
  7. 4.xx: 
 Put widgets where you want to put stuff.

    If the theme has widget areas where you want them, it doesn’t, really. But if it doesn’t, before Gutenberg, you had to put widget areas where you wanted stuff.
  8. Again - before Gutenberg: enqueue Backstretch and add several other

    functions to the functions file. Got an hour? We can go through it all if you want.
  9. So we’ve got that code in the theme - no

    reason to add blocks here.
  10. Bessie wants you to know: A couple caveats from Bessie

    here: We’re still writing CSS. (Unless you want someone adding bold purple subheads and picture captions to a very non- purple theme…) Not so much page/post Loop templating, but probably still some hooks in block templates.
  11. Lotta styles for the front end here. The good news

    is, everything we can possibly change is probably in this list of rules.
  12. Here’s a square button. / An outline button. An outline

    button that does some other things. Course, that means we’ll want to curate this list pretty heavily if we’re building client sites that need to stay on brand.
  13. Apparently we cannot yet in fact make WooCommerce products with

    the block editor. We still get to use this.
  14. For the most part. I’m having a helluva time getting

    these two pages to measure out the same.