• Resolved Engelien

    (@engelien)


    Hi,

    Is it possible to change the format of the hyperlink? Color is fine, but I don’t like it bold or is it a different font? Hard for me to see in the demo.
    I would like to have it not bold, but the same font size as the original text. Only when hoovering over the specific link it should change color.

    Thanks in advance

Viewing 8 replies - 1 through 8 (of 8 total)
  • Ciprian Ionita

    (@ciprian-ionita)

    it actually isn’t bold, you have to change the font by modifying the font-family property in css

    Thread Starter Engelien

    (@engelien)

    How do you I change it?

    Ciprian Ionita

    (@ciprian-ionita)

    first you have to make a child theme
    https://codex.ww.wp.xz.cn/Child_Themes
    then enqueue a new font script in your functions.php
    https://codex.ww.wp.xz.cn/Function_Reference/wp_enqueue_script
    and change the font-family property in your style.css file

    Thread Starter Engelien

    (@engelien)

    Thanks for the instructions. I am not an expert and the above sounds like quite complicated. Will see if I can schedule some study time for this soon. Would be nice if I could format this.

    Moderator Kathryn Presner

    (@zoonini)

    Ciprian Ionita – thanks for trying to help. 🙂

    I think there are simpler ways to accomplish what Engelien is after.

    Engelien – to remove the bold style on links within posts and pages, you can use a custom CSS plugin, like the one built into Jetpack, as I mentioned in your other thread. No need for a child theme – which isn’t possible with Cubic anyway, since Cubic is already a child theme of Boardwalk.

    Once you activate Jetpack’s Custom CSS module, you’ll see a new item under Appearance > Edit CSS. Add this code there:

    .entry-content a {
         font-weight: normal;
    }

    Let me know if this does the trick.

    Thread Starter Engelien

    (@engelien)

    Thanks!

    Thread Starter Engelien

    (@engelien)

    Kathryn, it worked perfectly.

    Moderator Kathryn Presner

    (@zoonini)

    Great, glad to hear it!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Change hyperlinks fonts’ is closed to new replies.