Site logo

Archived topic

Bold hyperlinks in post

7 replies · Started by Former User on October 26, 2014

Viewing posts 1–8 of 8

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!

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 :)

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

Awesome! It looks great :)

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?

Hi Russell,

Try adding this additional CSS:

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

Let me know if this is what you are after.

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.

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

This archived topic is closed to new replies.