• Resolved cater83617

    (@cater83617)


    Hi all,
    I want to ask how to customize top text?
    I tried to edit the “Top text” in General Display options, like

    <h3 class=”relatedpost”>Related post</h3>

    but after I saved it, it became <h3>Related post</h3> automatically.
    is there any way I can change the style or class of the Top text?
    a thousand thanks tou in advance ??

    Best regards,
    Bing

Viewing 3 replies - 1 through 3 (of 3 total)
  • Asad Shahbaz

    (@artisticasad)

    Hi,

    You can simply style the “Top Text” by using the following CSS selector:

    .relpost-thumb-container>h3 {
    /* 	ADD YOUR CSS HERE */
    }

    Add your CSS for Top Text where mentioned in the code above.

    If you still face any issue just let me know.

    Thank you!

    Thread Starter cater83617

    (@cater83617)

    Hi Asad,
    It works, thank u so much for ur help.
    You responded surprisingly fast, have a good day ??

    Mind If I ask another question? This awesome plugin only show words/lists in AMP mode, what should I do to make in appear in block style like the normal pages?
    I’m using AMP for WP right now, If I should open another forum topic for this, please let me know, sorry for the inconvenience.

    Bing

    • This reply was modified 5 years ago by cater83617.
    • This reply was modified 5 years ago by cater83617.
    Asad Shahbaz

    (@artisticasad)

    AMP version of the page applies its own styles and disables Related Posts CSS so you can’t get the same styles on AMP as on normal pages.

    However, we will look into the possibility of AMP page style for Related Pots and will apply in the upcoming update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to customize top text?’ is closed to new replies.