[Resolved] Bold hyperlinks in post

Home Forums Support [Resolved] Bold hyperlinks in post

Home Forums Support Bold hyperlinks in post

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41797
    Anonymous

    Is there a way via the CSS I could force hyperlinks in a post to bold. I know the code to make it bold but I don’t know where/what I would type
    (e.g.

    a.sinlge-post {
    font-weight: bold;
    }

    )

    Many thanks for help!

    #41813
    Tom
    Lead Developer
    Lead Developer

    Well you can highlight your links and bold them as you create them with the editor, but if you want all links inside your pages/posts to be bold, you could use this:

    .inside-article a {
          font-weight: bold;
    }

    Let me know 🙂

    #41814
    Anonymous

    That worked perfectly. Thanks a lot! In case you were wondering, my site is sciencesofa.co.uk

    #41816
    Tom
    Lead Developer
    Lead Developer

    Awesome! It looks great 🙂

    #320671
    Russell

    Hi Tom,

    I seek to ‘semi-bold’ most of the links throughout my site. Except for blog titles on the blog page. I am able to achieve the level of boldness I seek by suing font-weight: 500.* Since I’m using Google’s Montserrat font I’m able to achieve the ‘goldie locks’ balance I seek.

    But how do I get the links within the blog post and pages to be bolden, without having the blog titles within the blog page get bolden too?

    *I tested a couple of related css code found above.

    and

    a {
    font-weight: bold;
    }

    and

    .inside-article a {
    font-weight: bold;
    }

    I understand the “a {….” code bolds all links throughout the site.

    I understand the “.inside-article…” code is supposed to bold links inside pages and posts.

    Both links work as presented.

    But when I use the “.inside-article…” code, blog titles on the blog page get bolded too. Is there any way to have the titles of the blogs (which link to the blogs themselves) not be bolded too?

    #320785
    Leo
    Staff
    Customer Support

    Hi Russell,

    Try adding this additional CSS:

    h2.entry-title {
        font-weight: normal !important;
    }

    Let me know if this is what you are after.

    #320853
    Russell

    Hi Tom,
    No affect at all.
    I also tried various weights: bold, bolder, lighter. even different numbers 300, 600, etc.
    nothing I tried changed what’s already there.

    p.s. I’m using the simple css plugin, which is working great for a ‘non-coder’ like me.

    #320857
    Leo
    Staff
    Customer Support

    Can you provide a link to the page where it’s not working? thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.