[Support request] How to add if text function?

Home Forums Support [Support request] How to add if text function?

Home Forums Support How to add if text function?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #602319
    Chetan

    How can make download link bold in all post with php function.

    #602366
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I’m not sure if you can use PHP for that. Can you give the links a CSS class? That way we can just use CSS.

    Let me know 🙂

    #602428
    Chetan

    OK. But it should work on all the download(text) link in the post. And only download text not any other link.

    #602869
    Tom
    Lead Developer
    Lead Developer

    You can target specific links by giving them a class:

    <a href="#">Just a regular link</a>
    <a class="download-link" href="#">I'm a download link</a>

    Then you can target the download link:

    .download-link {
        font-weight: bold;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.