Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CSS in the editor
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tammie Lister
September 30, 2020
Education
360
0
Share
CSS in the editor
Workshop for WordPress
Tammie Lister
September 30, 2020
More Decks by Tammie Lister
See All by Tammie Lister
Growing the WordPress design system
tammielis
1
1.2k
Global styles the story so far
tammielis
1
900
Dropped stitches and tangled yarn - a call to simplify WordPress
tammielis
1
1.4k
Being Brave
tammielis
2
1.8k
Lessons from growing design in the open
tammielis
0
1.2k
Thinking in patterns
tammielis
0
43
Design matters in open source
tammielis
1
860
Opportunity of Open Source
tammielis
0
700
Product design through stories
tammielis
1
410
Other Decks in Education
See All in Education
SSH公開鍵認証 / 02-b-ssh
kaityo256
PRO
0
160
共感から、つくる: 変わり続ける自分と、誰かのための創造
micknerd
1
330
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
signer
PRO
1
3k
良い塩梅を実現する、AWSネットワーク3分クッキング
masakiokuda
1
240
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
980
吉祥寺.pmは1つじゃない — 複数イベント並走運営の12年 —
magnolia
0
590
SSH_handshake_easy_explain
kenbo
0
970
「機械学習と因果推論」入門① 因果効果とは
masakat0
0
1.7k
Why the humanities may be your best career bet
figarospeech
0
160
What workforce agencies must have in place to compete for and deliver on RESTART grants
territorium
PRO
0
150
Laura Wilson - The Quarterly PR Pivot
laurawilsonbseo1
1
260
BITCOIN : Les fondamentaux !
rlifchitz
0
130
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Docker and Python
trallard
47
3.8k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
430
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
530
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
530
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.7k
Transcript
Custom CSS and the editor
Custom CSS?
CSS?
CSS (Cascading style sheet)
!important
#id .class
.editor-styles-wrapper .wp-block-quote.is-large
Inspecting
None
None
None
Custom CSS in WordPress
Adding to the customizer Using additional CSS, doesn’t change files
None
Theme files in wp-admin Only if able to edit files,
changes theme files
None
Adding a stylesheet/editing Requires server access, changes files
Let’s create
Our starting point Twenty Twenty
1. Add a class to a block using additional CSS
class field.
2. Create a custom style for an existing block class.
Add a class to blocks
None
None
BONUS POINTS… Check on smaller screen
None
Creating a custom style
None
None
None
None
Summary…
1. Find the element you want to style
2. Remember cascading
3. Use the additional css field
4. Always preview on smaller devices
5. For a quick, safe option outside of theme use
‘Additional CSS’ in the Customizer.
6. Have fun and experiment
Thank you