Home › Forums › Support › Style for site links This topic has 10 replies, 2 voices, and was last updated 4 years ago by Leo. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts March 14, 2020 at 6:57 pm #1195103 Pedro Hello! I’m trying to make the text of the links on my site underline when I mouse over it. Something like Amazon does: https://mega.nz/#!upFR1YqR!tDbVgkW6lVq6RkLzCE5bmLmqC5cf1yvsEVwDv-zQSTY March 14, 2020 at 7:38 pm #1195125 LeoStaff Customer Support Hi there, Try this CSS: .entry-content a:hover, .woocommerce ul.products li.product .woocommerce-LoopProduct-link:hover, .sidebar .widget li a:hover { text-decoration: underline; } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know if this helps π March 15, 2020 at 10:29 am #1195666 Pedro Hi Leo! Thanks for the help. CSS works for some links but not for others. Like product names or widgets. March 15, 2020 at 11:05 am #1195689 Pedro Update: Some site buttons are also underlined when you mouse over them. I don’t want this to happen. You can help? March 15, 2020 at 11:09 am #1195693 LeoStaff Customer Support Updated the CSS above to include sidebar widgets and product titles. Can you guide me to a button that you’d like to exclude? March 15, 2020 at 11:22 am #1195702 Pedro Update: The new code worked. However I can note for example for products only underline the text when hovering over the product title. If the mouse is placed on the product image the text is not underlined. Regarding the button, here you can see one: https://www.rebajaslocas.com/envios-y-entregas/ (They are buttons placed with Gutenberg) March 15, 2020 at 11:38 am #1195719 LeoStaff Customer Support Updated the CSS above again. Then add this for the buttons: a.wp-block-button__link:hover { text-decoration: none; } March 15, 2020 at 12:06 pm #1195728 Pedro Hi leo! Everything worked perfectly. Thank you very much for all the help. March 15, 2020 at 1:04 pm #1195760 LeoStaff Customer Support No problem π March 30, 2020 at 8:12 am #1219703 Pedro Hi leo! Me again π I would like you to please help me, I just realized that the underlining is also being applied to the normal prices of the products. Those that appear crossed out and in gray. Here’s a screenshot: https://mega.nz/#!uwlXmQqA!umSeg0FGLYbE5hrXAxpz6NWjWvYrlCizjmpZxMgLvtU Is there a way to do something to stop this from happening? March 30, 2020 at 11:36 am #1219931 LeoStaff Customer Support Hmm I gave it a shot but unfortunately, I don’t’ think that’s possible if you want the image to trigger all the underlines as it’s included in the same <div> Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In