Custom CSS in single post

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  Max 2 years, 5 months ago.

  • Author
    Posts
  • #3489

    Brian Le Vu
    Member
    Post count: 81

    Hello support team,

    May I ask for your help. I want to automatically add a signature (by using CSS ) at the end of the last paragraph in the single post view (as example attached here from Time magazine, the red dot at the end of the article)

    I try to test with the :last-child but it doesn’t work, hope you can show me what is the correct CSS tag for it.

    Thank you very much 🙂

  • #3490

    Brian Le Vu
    Member
    Post count: 81

    I couldn’t attach the screenshot due to size limitation of the attached files. So please see example from this website: http://time.com/2946597/oakland-launches-pimp-shaming-website/ you will see the red dot at the last paragraph from the article

  • #3493

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3494

    Brian Le Vu
    Member
    Post count: 81

    Hello @Maxxi,

    Thank you for the quick reply. I tried to add above css to my child theme and it doens’t work. I already clear cache in WP Supper Cache and cloudflare as well.

  • #3500

    Brian Le Vu
    Member
    Post count: 81

    Hello @Maxxi,

    I just saw the css above works in page only. On the single post view, the css is not working.

  • #3502

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #3505

    Brian Le Vu
    Member
    Post count: 81

    @Maxxi,

    Thank you very much. It explains everything. I just modify the content-single to add the author box manual after the entry-content area. And the custom CSS works now.

    Cheers,

    Brian

  • #3508

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!