• Resolved dkennedy56

    (@dkennedy56)


    I’d like to add some custom CSS to make two tweaks to my Twenty Sixteen site:

    — I want automatic italics when I select “Increase indent.”

    — I also want automatic italics for captions. I realize that captions appear to be in italics already, but readers who subscribe by email don’t see that, and I often forget to do it manually.

    Thank you.

    Dan Kennedy

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    The CSS on your site won’t be able to affect the emails your readers receive.

    I see you’re using Jetpack for your email subscriptions, so I recommend getting in touch with their support about this via https://jetpack.com/contact-support/?rel=support if you have any of their paid Jetpack plans or https://ww.wp.xz.cn/support/plugin/jetpack/ if you do not.

    As for paragraphs with an increased indent, they have no unique identifier, so you won’t be able to target them with any CSS changes.

    Instead, try a Quote Block for what you’re using these indentations for: https://ww.wp.xz.cn/documentation/article/quote-block/

    In the block’s settings, you’ll find an area where you can change it to italics: https://ww.wp.xz.cn/documentation/article/typography-settings-overview/

    Thread Starter dkennedy56

    (@dkennedy56)

    I received a comment that showed up in my email but isn’t posted here. Let me answer the questions in case that person is following the thread.

    1. I am using the Classic Editor.
    2. I mean an indented paragraph, not the blockquote command, which I think is ugly.
    3. I’m using the WordPress caption thing — I’m not manually inserting captions.

    Thanks!

    Moderator James Huff

    (@macmanx)

    Looks like the comment was removed previously for spamming elsewhere, and it was also quite wrong.

    No matter what editor you use, there’s no way for CSS on your site to influence the emails that Jetpack sends. I still recommend checking with Jetpack’s support though, you might not totally be out of options.

    For the indented paragraphs, there is no unique identifier on those paragraphs, so there’s nothing to target with CSS.

    However, if you used block quotes, that would give you something to target. If you’d rather not manually italicize the indented paragraphs every time, try a just one quote block, let us know where we can find that on your site so we can see what can be done with CSS, and let us know how you’d like it to look different than what it is.

    Thread Starter dkennedy56

    (@dkennedy56)

    I was wondering about why his comment wasn’t here. I wouldn’t mind playing around with the blockquote if I could make the type size smaller. It’s larger than the body text, which is kind of strange. As long as it was clearly marked as a blockquote, it wouldn’t necessarily have to be in italics.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Would like to customize some CSS’ is closed to new replies.