From the course: WordPress: Building Progressive Themes with WP Rig

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Edit CSS

Edit CSS - WordPress Tutorial

From the course: WordPress: Building Progressive Themes with WP Rig

Start my 1-month free trial

Edit CSS

- [Instructor] Working with CSS in WP Rig is a straightforward process. You go into Assets, CSS and Source Folder, and then just write CSS the way you normally would. The build process detects any changes you make and compiles out new minified CSS files that are then served up to the browser. Let's look at an example to see how this all fits together. If we take a look at the layout CSS for the current starter theme, you'll see if we scroll up a bit there's this div with id page and class site. This div has a grid layout applied to it. Display grid and in Firefox you can use the overlay grid to actually see that grid in the browser. Now, this grid currently has two columns, one that takes up three portions of the available space, and one that takes up one portion of the available space. This was defined here, grid template columns 3fr and 1fr, and all of this is defined inside global.css on line 81. I want to change this mark up so that I can use grid template areas and position the…

Contents