Site logo

Archived topic

How To Create This Section & Use As Class ID?

3 replies · Started by Ravi Dixit on October 15, 2020

Viewing posts 1–4 of 4

Hey, GeneratePress Team!

I am looking for a way to create Editor's Note section in my blog. I want to create a section that should contain an image and text like the chatting tool.

I want something like this: https://prnt.sc/uzrl4f

I want to use it for internal linking... Or to provide a quick note to my readers.

How can I create this section and I want to make it easy to use like just adding a "class=" wherever I want to use it... Like I have written a paragraph and I can use this just by adding <p class=custom-box> something like this.

Please help me with this...

Hi there,

CSS classes don't work like that. Where is this element to be placed ? Is at after the post content or within it ?

It will be placed within the content.

Can you share any best method to do the same?

You would basically need to copy the HTML and paste into wherever you want it.

This archived topic is closed to new replies.