Site logo

Archived topic

Bold hyperlinks

7 replies · Started by Charles on September 7, 2021

Viewing posts 1–8 of 8

Hi there,

I've used this code on another site to bold hyperlinks. However, I could not get it to work on my new site.

/* Bold hyperlinks */
.single .entry-content a, .page .entry-content a {
font-weight: 600;
}

The new website is https://www.mongoosemovers.co.uk/

If you could give me a hand that would be great.

Charles

Hi there,

Is the CSS still added? I'm not seeing it.

Let me know :)

Hi there,

Yes it is. I've added it in the additional CSS.

Charles

It's at the bottom?

Charles

Hi Charles,

The CSS is actually working on your site but perhaps you're trying to apply it on large screens as well?

As it is, you have that CSS inside an @media (max-width: 1024px) rule so it only applies on viewports 1024px width or smaller.

If you want it to apply on all viewports, you'll have to put it outside of the @media rule.

That's got it. Thanks for that.

Charles

No problem. :D

This archived topic is closed to new replies.