Site logo

Archived topic

Adding italics to dynamic text

1 reply · Started by Megan on February 4, 2023

Viewing posts 1–2 of 2

Hi there,

I'm trying to make it so that the author's title (ex. "elder care specialist") is in italics. Can you help me understand how to do this on this page? https://saferseniorcarecom.bigscoots-staging.com/best-eating-utensils-for-the-elderly/

Also trying to put some kind of | or other symbol between the author and the date -- can't figure out how I'd do that.

I'm also trying how to figure out how to use a custom author profile image -- my author does not have a gravatar, so the profile pic is showing up blank.

Hi Megan,

You can give the headline blocks a CSS class, eg. italic-style, then add this CSS:

.gb-headline.italic-style {
    font-style: italic;
}

Also trying to put some kind of | or other symbol between the author and the date — can’t figure out how I’d do that.

You can set the headline block's left/right border size to 1px.

I’m also trying how to figure out how to use a custom author profile image — my author does not have a gravatar, so the profile pic is showing up blank.

To have the authors use an avatar is the best and simplest option here.

Otherwise, you can use a plugin like ACF, create an image custom field for the user role, then upload a profile image for each author, then use the GB image block to pull the author meta.

This archived topic is closed to new replies.