Site logo

Archived topic

How to underline the text (link) on mouseover as in example.

42 replies · Started by francesco on February 1, 2022

Viewing posts 16–30 of 43

thanks, i'm really sorry but i can't figure out how to edit the meta tag. I tried to change the remaining texts to h6. the problem is that when you select an article it is as if you select them all.

In Appearance > Elements you created a Block Element - Content Template. Edit that and make those changes.

in the widget it works only on the first article.

https://fehu.it/earl-grey-2/

I can't understand this step. change the tag of the Meta element to a P. what should I do?

Sorry David, but i'm quite ignorant on the subject. do i have to change any of these things? I have already converted the two elements dtata and author to H6. only the title remained in H2

Thats it - you don't need to change anymore. If you check your site its working as you asked.

Unfortunately not. maybe I explained myself wrong before. practically when I hover the mouse over an article it makes the lines appear on all of them. see photo

Can you temporarily disable SG optimizer while we try to diagnose and fix the issue?

To be sure the changes the fixes we provided reflects immediately. :)

As for the underline:

You can this custom CSS that's applying the underline:

.paging-navigation p a:hover,
.rpwwt-sticky a:hover,
.generate-columns-container:hover h2 {
 text-decoration: underline;
}

The selector for .generate-columns-container:hover h2 should be corrected to .generate-columns-container h2:hover.

As for the sidebar underline, the selector .rpwwt-sticky a:hover has to be corrected to div#rpwwt-recent-posts-widget-with-thumbnails-2 ul li a:hover

hi elvin, done. I disabled the optimizer

I inserted the CSS you suggested but now nothing seems to have changed on the home page. indeed all the lines have disappeared. the widget links in the sidebar on the other hand now works correctly.

I see:

Try changing .generate-columns-container h2:hover to .generate-columns-container article.post:hover h2.

Now work. thnx all...
By now I was going crazy looking for the solution. i couldn't understand what david was saying to me.

elvis do you have a CSS for the related post in the articles?

By now I was going crazy looking for the solution. i couldn’t understand what david was saying to me.

That's on me. I interjected before he was able to fully make his point. My bad. lol.

elvis do you have a CSS for the related post in the articles?

Add this selector to your list of selectors for text-decoration: underline.
h2.wp-show-posts-entry-title a:hover

done, it works. summing up this is CSS.
sorry if I always post the photos but at least I hope to be of help to others.

This archived topic is closed to new replies.