Skip to content
Public Ticket #3586

Add a custom text CSS style

Conversation thread

luciazw replied

Customer Reply

Oh I see. Thank you!

PenciDesign replied

Staff Reply

Hi,

When you add an image for your editor, you can click to image inside media library and add your caption on the right side - Seem you don't know about this. Check this image.

Best Regards,

PenciDesign

luciazw replied

Customer Reply

Then how can I style a line of text within my blog post to be the image caption style? There must be a way. The preset styles only h1-h6 and only one paragraphy style. 

PenciDesign replied

Staff Reply

Hi,

Unfortunately, there is no way to add it to paragraph of wordpress editor.

Best Regards,

PenciDesign

luciazw replied

Customer Reply

I want to be able to style a line of text in the Post editor. 

If not in "paragraph" styles dropdown how else can I style it in the blog post?

PenciDesign replied

Staff Reply

Hi,

You said with me style for "image caption" - I don't know why the "image caption" need to showing up in the "paragraph" styles dropdown

Best Regards,

PenciDesign

luciazw replied

Customer Reply

Hi Penci,

I added it but it's not showing up in the "paragraph" styles dropdown in the post edit window. 

PenciDesign replied

Staff Reply

Hi,

Please add more this code to Customize > Addinational CSS to do that:

\
.wp-caption-text, .penci-wp-caption-text{ font-family: 'PT Sans', sans-serif; font-size: 12px; font-weight: normal; }\

Best Regards,

PenciDesign

luciazw started the conversation

Conversation Start

Hi Digiswtich

I want to add an option in the pre-built text styles called "image caption". Font family PT sans, font size 12px, font weight regular 

How can I add it in? 

Want to join this conversation or access attachments? Sign in first.