My post on Monday about Reusable Blocks in the Block Editor spawned a few questions. I tried to answer them in the comments, but one from Janis over at Retirementally Challenged, stands out because it allows me to be geeky and share a one-liner. Here’s the best part, you get the one-liner before the geek. So, if the geek doesn’t interest you, you can skip to the gallery.
Janis was complaining about the fact that bulleted lists don’t line up with text on her blog. She noticed that my list was indented, and she wondered if there was a trick to that. There is, that’s the geeky part, but there’s also a story.
When I first tried using the Block Editor in the spring of 2019, I was concerned when I didn’t see any way to indent a paragraph. I use this feature often in my posts to set off an explanation, or a somewhat irrelevant bit of information. I know, I was surprised that I include those, too. Anyway, I contacted the Happiness Engineers (HE) to ask for help.
The HE suggested that I use a Quote block. I explained that I use Quote blocks for, quotes, but that sometimes I like to just indent a paragraph. The HE explained that, other than using a Classic block, there was no way to do this in the “new and improved editor.” I ask why they would eliminate a simple formatting feature that is used, by my observation, by many people. He explained that “indenting is an old-school formatting style that is no longer in fashion.” He added:
“By indenting a paragraph, you’re showing your age!”
We won’t go into what I said.
OK, the geeky part is next. If you want to skip that, click here. By the way, the click here thing, is using a feature of the Block editor, which lets you insert an “anchor” in your post. I put an anchor at the block explaining the One-Liner Wednesday challenge and that link above points to that anchor.
Disclaimer – The explanation below includes instructions for creating and using custom CSS in your theme. If you are using the free plan, you won’t have this option. I’m sorry. Given how many things in the Block editor need to be fixed with custom CSS, I would think WordPress would make the option available to everyone. Still, you can use your theme’s Quote block, and you can insert a Classic block and indent as before. This block has been indented using the CSS I am going to explain below.
CSS stands for Cascading Style Sheets, a markup language that controls the appearance of text and graphic elements on your blog page. The easiest example I can point you to is the Quote block mentioned above. Quote blocks are often indented and may include a graphic element, as well as a font and color change. All of those bits of markup language are stored in a CSS script called Quote. Styles are great, because they save time and ensure consistency. The “Cascading” part of CSS refers to the fact that the styles can be overridden. WordPress can offer a Quote block, but the developer of your theme can override that with his/her own. You could override that style, but it can get messy. WordPress offers a somewhat simpler way to do that.
The examples I am using are the CSS for my indent feature and for a thicker, wider, black separator (for Hugh). The CSS text is included at the end of the post, if anyone wants it. We start the process in the Admin panel.



The custom CSS is available to you until you change themes. This is important! You need to keep track of the custom CSS that you use, and you need to keep the code in a document, preferably a text file (with no formatting). If you change themes, you need to add the custom CSS to the new theme – KEEPING THE SAME NAME – in order for your previous posts to render correctly under the new theme.
One the CSS is added, invoking it is very easy in the Block editor.
- Select the block you want to apply the CSS to.
- Open the Block settings.
- Drop-down the Advanced Block settings.
- Add the CSS class name WITHOUT the leading ‘.’!



Note: The CSS for the custom separators are added to an empty paragraph block. The reason my separator has a name, is because I saved it as a Reusable block.
The CSS may not change the appearance in the editor window, but, if you did it correctly, it will appear in the preview.

To summaraize, the custom CSS classes I added are:
.da_indent40 .hvn_thick_wide_sep
The class name I use to apply them to a block in my post are:
da_indent40 hvn_thick_wide_sep
As you might have guessed, I am indenting my blocks 40 pixels. If you want to use this bit of CSS, give it a name that makes sense to you, like: ‘myIndent40px’ and pick a number of pixels that suits your fancy.
Remember, if in the future, you want to indent a paragraph/list by 80 pixels, create ‘myIndent80px’ and use that. If you change ‘40px’ in the script shown to ‘80px’ you will change it everywhere it has been used before.
If you have any questions, please ask in the comments or send me an email. I will be happy to help.
Here’s the text for the CSS classes:
For Hugh at Hugh’s views and news.
.hvn_thick_wide_sep {
border-top: 6px solid #000;
width: 30%;
margin: auto;
}
For indenting:
.da_indent40 { margin-left: 40px; }
This post is part of Linda G. Hill’s fun weekly series One-Liner Wednesday. If you have a one-liner, If you would like to join in on the fun, you can follow this link to participate and to see the one-liners from the other participants.
I’ve been discouraged by the (for me new) block editor every single day of October Poetry Writing Month. Looks like I need to start reading your posts more. I’d love it if by the end of the month the block editor doesn’t feel like a fight anymore.
And I don’t care to show my age :)
LikeLiked by 1 person
I’ve been frustrated by the new editor since switching several weeks ago. I decided to “fix” a few things that really bother me. Now it’s a combination of new editor, custom code and classic blocks – so much for new and improved.
LikeLike
It drives me mad. I don’t want to relearn a program that I know. Sigh…
LikeLiked by 2 people
That’s the thing. You shouldn’t have too.
LikeLike
Color me ‘turned off’ by WordPress right now.
LikeLiked by 2 people
I am equally turned off, Judy. You shouldn’t have to work this hard to make something (that is supposed to be an improvement) work well enough to be used.
LikeLiked by 1 person
Amen.
LikeLiked by 1 person
Dan, thanks so much for including my request for a thicker, bolder separator block. (I think) I’ve done what you’ve outlined in this post. Certainly, in preview, I get the thicker black separator. Now all I need to do is try it out on a published post. If all else fails, I may come back to you (if that’s ok?).
I’ve also learned something new from this post – the anchor block – I had no idea it existed.
LikeLiked by 1 person
You’re welcome, Hugh, and you’re always welcome to come back. You’ve shared so much guidance and insight over the years, It’s my pleasure to send a little help back your way. Reach out via comments or email.
I hope it works well for you.
LikeLiked by 1 person
Thanks, Dan. I’m using it in an upcoming post being published tomorrow. In the preview, it looks good.
Thanks again for doing this for me. It’s very much appreciated.
LikeLiked by 1 person
You’re welcome, Hugh!
LikeLiked by 1 person
I didn’t realize there was an “Additional CSS” option under “Customize” (probably because I never selected “Customize” before). I will have to keep that in mind. I have used style sheets. Nice caution sign for the elderly.
LikeLiked by 1 person
I tried avoiding the custom CSS, Frank (it reminded me too much of my old job), but in these cases, there simply was no other way forward. It is a nice option to have.
We’ve gone from “Caution – Children Present” to “Elderly Crossing” – oh well.
LikeLiked by 1 person
Oh no, hell no to all that techy gobbledegook. Long live classic and us old farts who want to indent a paragraph.
Yay on the bunny though.
👍
LikeLiked by 7 people
I hope your access to classic never ends. At least I included a bunny.
LikeLiked by 1 person
You did. And I appreciate it!
LikeLiked by 1 person
If HE had made a comment like that to ME, HE may have become a SHE rather abruptly! hee hee hee. Love the photos. Best part of my day, so far.
LikeLiked by 3 people
Ouch (cringe) – note to self, don’t p*ss off Pam – I’m glad you like the photos. :)
LikeLiked by 1 person
I’ve seen some magnificent pictures of the changing season, yours included. Funny how I’ve been down here for 50 years, but pictures like that and covered bridges, make me homesick for up north!!
LikeLiked by 1 person
Thee are some things that only New England offers. Still, I get homesick for Pittsburgh when I see photos of the rivers.
LikeLiked by 1 person
Beautiful Autumn leaves. Sweet Maddie. About that computer stuff, my brain understands these things when my son shows me but I refuse to hit the ‘save’ button because I might lose something really important up there. Thank goodness I don’t indent. BUT, a perpetual problem for me since the beginning of Microsoft Works was how to set margins. Still can’t do it right. Talk about showing your age…I miss my typewriter. I could set some margins and indents there! 😉
LikeLiked by 2 people
Hahaha – your comment is going to be loved by The Editor, Cheryl. She misses typewriters, too.
LikeLike
Beautiful fall colors on your trees. I wouldn’t have questioned MiMi as to which foot was showing. She looks so comfy and content. And Maddie doesn’t look like she’s ready for a walk yet anyway. Bunny always seems up for a photo session!
I shouldn’t be laughing at the Caution sign being toppled over, but it hit my funny bone! It’s a sign of the times that nothing’s the way it’s supposed to be any more. Laugh or cry are our two choices.
Good for Maddie leaving no leaf unturned! And look at the size of that tail on the squirrel! Yowzer!
Happy Hump Day!
Ginger
LikeLiked by 1 person
Sage advice on not bothering MiMi, Ginger. It was echoed by the Editor – “leave her alone!” – as I started to give her a good morning scritch. MuMu, on the other hand, is loud and demanding to be brushed, scratched, and otherwise attended to.
Maddie checks out everything on the ground. Nothing is unimportant to that nose.
The “Slow” sign guy is back on his feet today. No one pays attention, but that seems par for the course.
We always talk to the bunny. We cross the street so he doesn’t have to leave the good-eating-spot he’s found.
I hope you’re having a good week, Ginger. Sorry for two techie posts in a row. But, I have some nice doors for tomorrow.
LikeLike
I recall a feeling of shame when I learned that typesetters don’t use two spaces after a sentence. But I thought the paragraph indentation thing was optional. Apparently not. I prefer no indent, but still…
Great one liner!
LikeLiked by 1 person
I don’t use two spaces after a sentence, but the my wife swears that’s what is required. The thing I don’t understand is why they would eliminate such a simple-to-program feature (indent) that a lot of people use. I don’t see why the geeks at WordPress should be the arbiters of style.
LikeLiked by 2 people
‘As you might have guessed, I am indenting my blocks 40 pixels.’–and then I saw you went to ‘Advanced.’ Aha! I am in the wrong class. :) I didn’t even know what CSS stood for… heavy sigh Maddie makes every photo look great, Dan. Autumn is her season. She looks beautiful among the fall colors. So punctuation as we learned it is now out of date. Who would ever have thought?
LikeLiked by 1 person
You really have to go some to have me arguing in favor of punctuation, Lois.
You know if you ever want to take advantage of these features, you can ask for help. I’m happy to provide assistance.
LikeLiked by 1 person
I so appreciate it. Thanks, Dan.
LikeLiked by 1 person
WP switched me over against my will a few days ago. I am still reeling with no idea how to do anything but the most basic insert text, insert image. Ugh. I feel like I’ve lost all flexibility. So I skipped down to the gallery. Lots to smile about there. I love the NE autumn photos. Enjoy the changing leaves. :-)
LikeLiked by 2 people
I’m sorry. I really don’t think they should be doing that. I also don’t think they should drop features people liked to use. I don’t think they are really concerned about writers. In any case, I’m glad you liked the pictures.
LikeLiked by 1 person
I watched one tutorial after leaving my whiney comment. Lol. It’ helped and I’ll probably watch another. I’ll figure it out… and then they’ll change it again. Ha ha.
LikeLiked by 1 person
Fall. Cooler air. Color in the trees. Apples. It is almost like we can breathe again.
Can you use child themes with your paid version of WP? I was thinking it might be transportable that way, but theme developers do not use the same element names, so that is a futile thought I imagine.
LikeLiked by 1 person
I’ve never seen that as an option, and I wouldn’t expect theme developers to be consistent, unless they’re overriding WP’s styled. I don’t know if WP supports namespaces. I won’t have more than a dozen bits of CSS when I’m done. I’ll just go with ‘da_’ something
I do love fall.
LikeLike
I see the reason I haven’t had (too much) trouble with the block editor is that I’m a simple woman and evidently don’t try to do anything interesting/unusual on my blog. :-) Ah, well, I’m happy for the most part where I am right now, so I don’t mind. The idea that indenting a paragraph is old-fashioned is quite annoying. Not everyone wants to skip a line every time s/he wants to have a new paragraph. Sigh.
janet
LikeLiked by 1 person
The idea the a bunch of coneheads at WP should decide which format elements are no longer useful is frightening.
I don’t think I’m asking for too much.
LikeLike
Haven’t thought of coneheads for some time, Dan. That made me smile. But I understand what you mean!!
LikeLiked by 1 person
It is the latest and greatest. The best thing since sliced bread. Versatile ! Computers can do anything. …except for the things we intentionally program out… Some days progress is spelled so backwards that expletives just don’t cover it. Kind of reminds me of Sections in Cobol. Now as to that sign – I need to make a slight addition to it and post it in my garden. ” Elderly Crossing Flowers “.
LikeLiked by 1 person
Hahaha – that modified sign would work, John. Latest, greatest, I’m sure it slices and dices, too.
LikeLiked by 1 person
What, he actually said you were showing your age? Millennial bastard…
LikeLiked by 2 people
Yep. Offered, I suppose as a helpful hint. I didn’t take it that way and I let him know.
LikeLiked by 1 person
That guy was such a jerk! We need to sic that “means business” squirrel on him! :) I wonder how he’d feel if his paycheck went “out of style.” Happy hump day, Dan. Hugs on the wing.
LikeLiked by 1 person
Hahaha – if only I had the power, Teagan. Maybe they took him off the front line by now. Thanks!
LikeLiked by 1 person
I appreciate the information, but I’ve never worked up the courage to tackle CSS. The only times I’ve tried, I’ve made a mess. :( And any picture with Maddie is a good picture, don’t be silly! :D
LikeLiked by 1 person
The Block editor does make it easier to use CSS, but it also is the only option for some things.
Maddie tells me the same thing 🙂
LikeLiked by 1 person
Lordy, lordly, showing your age, huh? Hilarious. How to use the blockhead editor has been THE topic this week. I’ve done a little bit with CSS in an older blog, but haven’t touched it in this one. Like I said yesterday in my post, I resent this confusing system being dumped on me during a difficult year. Still snarling a bit about it in fact.
LikeLiked by 1 person
I agree with you about the timing. Not only is it a bad time, but the editor isn’t ready for “production” as we (who wrote software) would say.
LikeLiked by 1 person
Your geeky workaround description gives me a headache, but I suspect it’s going to be useful at some point in the future. I think I can follow the process, even though it will likely give me a headache. It was bad enough several years ago when I actually had to switch to the “text” view to delete some stupid code that was messing up one of my posts. I wasn’t totally sure what I was doing, but whatever I did at that time worked. I hate computers.
(And now I see that, even for my older posts, WP has 2 editing options ‘ “Edit” or “Classic Edit.” Obviously, they intend to force me into the block editor soon.)
LikeLiked by 1 person
Those options remain available for creating new posts as well. I suspect the edit option will have to remain, as long as there are old posts that were created in Classic.
LikeLiked by 1 person
Well, most of that was way over my head especially when I first read it a 3:30 this morning, but I’m going to put a little memory marker in my head to come back to this post and your fancy art deco separator post should I ever want to add those features.
The oranges you get there are just beautiful. We have mostly yellow out here not many oranges and the reds are usually cultivated trees.
Yep, I think John Howell might be staging a tour of your neighborhood next. 😜
LikeLiked by 1 person
I do not recommend reading anything I wrote at 3:00 am. This stuff isn’t fun, but it’s nice to know we have a little wiggle room on this editor.
I’m not sure how long our color is going to last. The drought and the heat took a toll on most plants and trees. I’m snapping pictures of every pretty thing as soon as I see it.
LikeLiked by 1 person
We have smoke issues here affecting the trees on top drought and heat. I’m doing the same. I went out Monday, and I’m going out two more times this week looking for Fall Colors. Gotta get when we see it is right! 😀
LikeLiked by 1 person
Good luck.
LikeLiked by 1 person
Thanks! 😀😀🍂
LikeLiked by 1 person
You are the best, Dan. Thanks for all the help. Your photos are great. Your geek? I need a nap now. Thanks for the mention too.
LikeLiked by 1 person
At least you know where to come if you ever have trouble falling asleep, John ;-) Two posts in a row with geeky screen shots, I am sorry for that. I promise I’ll have some very nice doors on display tomorrow.
LikeLiked by 1 person
It’s okay. I like your geeky posts.
LikeLiked by 1 person
Thank you for the detailed indenting instructions (and the link)! I’m not sure if I have a WP version that allows CSS, but I’ll try. Whether I am successful or not will be evident in my next post (fingers crossed). I wouldn’t even care as much about indenting (except for the joy of knowing that I’m pissing off that Happiness Engineer) but the current block editor places my list way to the left of my paragraph… that can’t be right, can it? I’d be happy if it just aligned with my paragraph.
Thanks again for your generous help!
LikeLiked by 1 person
You’re welcome. I hope the css helps. The other possibility, Janis, is that your theme is not fully compatible with the new editor. I had to change mine in August when I switched.
LikeLiked by 1 person
Ok, to report back… I, apparently, don’t have the premium level needed for CSS (which is just as well since I’m afraid that much of this is over my head). BUT, I did figure out how to get my list back within the confines of my regular paragraph block. I have no idea how it worked but, hopefully, I can remember what I clicked on so I can do it next time. I have to admit not indenting made me feel 20 years younger :)
LikeLiked by 1 person
That’s great news. However you did it. I’m happy you have it looking better.
LikeLiked by 1 person
Huh? You lost me at “there’s not a lot of code”. Any code is too much code. Lol. As for indenting showing your age? Well pfft. Likely said to you by someone who can’t write in cursive. Ha!
LikeLiked by 1 person
Hahaha – good point. Some people have a slightly higher tolerance for code. Oh well.
LikeLiked by 1 person
Wow, Dan. Thank you. This is like a tutorial. I knew none of this. I’m going to bookmark this page.
LikeLiked by 1 person
I’m glad you found it (potentially) useful, Rob.
LikeLiked by 1 person
It is. I have some technical ability but I’m not technical by nature. This clarified some confusion I had about CSS.
LikeLiked by 1 person
I actually read through your technical explanation, Dan, and think I could actually insert custom CSS code, but I find it much easier to stick with the Classic Editor for creating and editing my posts. I have dabbled with the block editor and have learned how to solve some problems for others (like poets who want to paste text into a block without changing the format), but am reluctant to change to this “improved” editor. As always, I enjoy seeing New England fall color–here in Northern Virginia we often go straight from green to brown, it seems.
LikeLiked by 1 person
The Classic editor is easier, Mike, no question about it. But, they are going to shove us all into this at some point. I chose to switch at a time that was convenient to me, not them.
LikeLike
You’re probably right, Dan, but I’m still in denial that “progress” is inevitable, although Facebook recently forced me to adopt its new look, which I hate.
LikeLiked by 1 person
Me too.
LikeLike
Yes, this is very geeky. Haha! I cannot believe the HE said that to you!! And speaking of eliminating things that we oldsters consider basic, justifying was eliminated in the classic editor, too. Love the autumn tree photo!
LikeLiked by 1 person
I don’t know why they felt the need to do these things, Jennie. I think you could add a couple lines of CSS code to enable justification. I might play with that.
LikeLiked by 2 people
🙂
LikeLiked by 1 person
My problem is trying to change colors on my site. But keep that purple bunny around til Easter 😉
LikeLiked by 1 person
And here I had no idea you spoke Greek! So happy to know WordPress continues to make things easier for us. (Where the hell is the eyeroll on this dang thing?)
LikeLiked by 1 person
Ha ha – we do need snarkier emojis.
LikeLiked by 1 person
Ummm…yeah, I love the photo gallery (MiMi paw!) and I think I’ll stick with the basics of Block Editor and what it will allow with the free plan.
PS: I hope the HE gets what comes around to him when he’s my age. ;-)
LikeLiked by 1 person
Age catches all of us.
LikeLike
Interesting, Dan. The block editor is new to me as well; I just published my first post using it, as you know. I appreciate your efforts to orient us. Some things I like, others not so much. This will take some time.
LikeLiked by 1 person
We are on this road together Paul. Hopefully we can all get through the change.
LikeLiked by 1 person
Thank you, Dan. I am going to bookmark this page for future reference. I need all the help I can get! :)
LikeLiked by 1 person
You’re welcome. You can always shoot me an email if you have a question. I may not know the answer, but I’m happy to poke around looking for one.
LikeLike
Oh, for the love of everything sweet and holy!! Indenting makes me look old?!!! The rest of my thoughts aren’t even printable 🤬
LikeLike
Get with it lady :-)
Yeah, my response wasn’t very nice (but it was printable). Why you would remove a feature that a lot of people use, is beyond me.
LikeLike
I am slowly starting to realize the title ‘Happiness Engineer’ was intended to be ironic.
LikeLiked by 1 person
Hahaha – perhaps you’re right.
LikeLiked by 1 person