Site logo

Archived topic

Q regarding Underlined Links

4 replies · Started by Adrien on September 26, 2021

Viewing posts 1–5 of 5

Hello,

Im testing the new GP 2.1 and it's really amazing! I have a question regarding Underlined Links.

How can I exclude all links in Widgets and layout elements from being underlined?

Thank you very much for your assistance. Adrien

Hi Adrien,

For widgets, give this CSS a try:

.widget-area a {
    text-decoration: none;
}

Not sure about layout element, can you be more specific or link me to the page in question?

Let me know :)

Dear Ying. Thank you. This unfortunately has disabled the underlining for all link.
It would be great that this option out of the box does not apply to any layout elements + widgets.
It should apply to URL in pages/posts.

I've selected "on hover" only so this solves my problem.

Hi there,

something we may consider in a later update to localise the link styling.
Option 1 - with customizer underlined links enabled:

div:not(.entry-content) a {
    text-decoration: none;
}

Option 2 - don't use the Customizer option and just use some CSS:

.entry-content a {
   /* add you text-decoration and other styles here */
}
This archived topic is closed to new replies.