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
Tammie Lister
September 30, 2020
Education
0
340
CSS in the editor
Workshop for WordPress
Tammie Lister
September 30, 2020
Tweet
Share
More Decks by Tammie Lister
See All by Tammie Lister
Growing the WordPress design system
tammielis
1
1.1k
Global styles the story so far
tammielis
1
860
Dropped stitches and tangled yarn - a call to simplify WordPress
tammielis
1
1.4k
Being Brave
tammielis
2
1.7k
Lessons from growing design in the open
tammielis
0
1.1k
Thinking in patterns
tammielis
0
43
Design matters in open source
tammielis
1
830
Opportunity of Open Source
tammielis
0
680
Product design through stories
tammielis
1
390
Other Decks in Education
See All in Education
学習指導要領と解説に基づく学習内容の構造化の試み / Course of study Commentary LOD JAET 2025
masao
0
120
Microsoft Office 365
matleenalaakso
0
2.1k
焦りと不安を、技術力に変える方法 - 新卒iOSエンジニアの失敗談と成長のフレームワーク
hypebeans
1
650
0121
cbtlibrary
0
120
AWS re_Invent に全力で参加したくて筋トレを頑張っている話
amarelo_n24
2
120
渡辺研Slackの使い方 / Slack Local Rule
kaityo256
PRO
10
11k
Semantic Web and Web 3.0 - Lecture 9 - Web Technologies (1019888BNR)
signer
PRO
2
3.2k
The World That Saved Me: A Story of Community and Gratitude
_hashimo2
3
510
卒論の書き方 / Happy Writing
kaityo256
PRO
54
28k
MySmartSTEAM 2526
cbtlibrary
0
190
Going over the Edge
jonoalderson
0
350
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
170
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
A better future with KSS
kneath
240
18k
Tell your own story through comics
letsgokoyo
1
810
Designing for Performance
lara
610
70k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Test your architecture with Archunit
thirion
1
2.2k
30 Presentation Tips
portentint
PRO
1
220
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Amusing Abliteration
ianozsvald
0
100
The Spectacular Lies of Maps
axbom
PRO
1
520
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