Remove underline from post title in block

  • Author
    Posts
  • #162596

    beslab2021
    Member
    Original poster

    Hi Maisha Team,

    I have a trouble with the blog posts block, since post titles appear underlined and I would like to remove the underline to make them better readable. I know about border-bottom or text-decoration set on “none”, but I can’t figure out the right CSS for block contents.
    Thanks for your help!
    Kiara

    The blog I need help with is: beslab.net

    #162633

    anarieldesign
    Theme Author

    Hi Kiara,

    thank you for using our theme.

    Can you please make your website public and link to the page where you have the block so I can see it and write you a custom CSS for it.

    Thank you,
    Ana

    #162653

    beslab2021
    Member
    Original poster

    Hi Ana,
    thanks for your reply! I made the website public and here is the page where the block is:
    https://beslab.net/en/publications/scientific-publications/

    Thank you,
    Kiara

    #162674

    anarieldesign
    Theme Author

    Hi Kiara,

    you can use this in the Cutom CSS:

    .wp-block-newspack-blocks-homepage-articles a, 
    body .wpnbha .entry-title a {
        border-bottom: none;
    }

    Hope this helps.

    All the best,
    Ana

    #162676

    beslab2021
    Member
    Original poster

    Hi Ana,
    it worked perfectly, thank you very much!

    All the best,
    Kiara

    #162689

    anarieldesign
    Theme Author

    You are welcome :)

The topic ‘Remove underline from post title in block’ is closed to new replies.