Home › Forums › Arnold WordPress Theme › change link text styling to underline in pages and post
- This topic has 13 replies, 2 voices, and was last updated 7 years, 7 months ago by
cincin.
-
AuthorPosts
-
October 11, 2018 at 5:42 am #16661
hi,
could you kindly advise how to change the link text styling in pages and posts to underline?
thank you!
October 12, 2018 at 1:48 am #16680HI
Please paste the custom css code to “Appearance > Customize : Additional CSS”.menu-item:hover > a:after, .menu-item:focus > a:after, .socialmeida-a:hover .socialmeida-text:after, .socialmeida-a:focus .socialmeida-text:after, .menu-item.current-menu-item > a:after, .menu-item.active > a:after, .portfolio-link-button-a:hover:after, .archive-more-a:hover:after, .gallery-link-a:hover:after, .gallery-link-a:focus:after, .wpml-translation li:hover span:after, .wpml-translation .current-language > span:after { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }Regards!
October 12, 2018 at 2:57 am #16682hi,
i probably didn’t explain well my question, i would like to change the links ONLY in PAGES (eg. about) and POSTS to underline, not to menu or footer.
thank you!
October 13, 2018 at 4:56 am #16694Pleaes update the css
.portfolio-link-button-a:hover:after, .archive-more-a:hover:after, .gallery-link-a:hover:after, .gallery-link-a:focus:after, .wpml-translation li:hover span:after, .wpml-translation .current-language > span:after { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }October 13, 2018 at 1:03 pm #16704Hi thank you for your reply, however the pages remained unchanged, could you kindly look into the codes? thank you!
October 14, 2018 at 12:40 pm #16716Please leave the URL, thanks!
October 14, 2018 at 2:00 pm #16718This reply has been marked as private.October 15, 2018 at 1:35 am #16719Please paste the custom css code to “Appearance > Customize : Additional CSS”
.panel-widget-style a:after,.entry a { content: ''; opacity: 0; position: absolute; width: 100%; height: 100%; right: 0; bottom: -1px; border-bottom: 1px solid currentColor; } .panel-widget-style a:hover:after,.entry a:hover:after { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }October 15, 2018 at 11:35 am #16724This reply has been marked as private.October 16, 2018 at 1:28 am #16734Please update the CSS as:
.panel-widget-style a,.entry a { position: relative; } .panel-widget-style a:after,.entry a:after { content: ''; opacity: 0; position: absolute; width: 100%; height: 100%; right: 0; bottom: -1px; border-bottom: 1px solid currentColor; } .panel-widget-style a:hover:after,.entry a:hover:after { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }October 16, 2018 at 1:29 am #16736This reply has been marked as private.October 16, 2018 at 2:14 am #16737This reply has been marked as private.October 18, 2018 at 3:09 am #16750You have set the height color as gray color, you can change it in theme option.
or you can set the link color by CSS:.panel-widget-style a,.entry a { color: #414145; }October 18, 2018 at 7:30 am #16751thank you so much!
-
AuthorPosts
- The topic ‘change link text styling to underline in pages and post’ is closed to new replies.
