Site logo

Archived topic

CSS Linkdesign

8 replies · Started by Dennis on August 16, 2021

Viewing posts 1–9 of 9

Hi everybody,

we want to change the design of links.

We search for the position where we can make all links "bold and underline".

We use Generatepress+ there is a typo column in the customizer > but this only can change the colour.

thanks in advance

Dennis

Hi there,

are these links just those inside the content of your posts?

If so then add this CSS:

.entry-content p a {
    font-weight: 900;
    text-decoration: underline;
}

where i have to add the code?

custome css oder css themefiles?

perfect works - when also want to effect links in tables i only had to add "table" instead of p?

Thats correct.
So this is for Tables only:

.entry-content table a {
    font-weight: 900;
    text-decoration: underline;
}

Or you can do this if you want links in tables and in paragraphs to have the same styles:

.entry-content p a,
.entry-content table a  {
    font-weight: 900;
    text-decoration: underline;
}

Or if you want to apply to ALL links in the content its just:

.entry-content a {
    font-weight: 900;
    text-decoration: underline;
}

I didn't offer that to begin with as it applies to all links which could include images and buttons that you wouldn't want styled

Hi David, perfect - thank you!

Works

Glad to be of help!

This archived topic is closed to new replies.