![]() ![]() Code To Remove the Underline Settings for Following Custom Anchor Links: add_filter( 'astra_unset_builder_elements_underline', '_return_true' ) Ģ. For instance, you can keep the default underlinealways behavior. If you are not sure how to add this code, please check this article.ġ. For the best user experience, links should stand out from the text on the page. If you don’t have your Child Theme installed, please check this article on how to do it. To do this, you need to add one of the following custom codes to the functions.php file of your Child Theme. The two available codes will let you remove the underline setting for anchor links or remove it from just some specific elements. Thus, this document provides two codes that will help you remove the underline text-decoration on certain classes and buttons while keeping the “Underline Content Links” option active for the rest of your website. This can interfere with your design and influence the user experience on parts of your website. In HTML, when we add a link, the line under the link text appears that can be removed using the text-decoration property. To change text alignment: There are four. Activating this option automatically adds underline text-decoration to your links.Īt the same time, some page builder buttons or anchors don’t have an option for overriding the text decoration. Click the bold (B), italic (I), or underline (U) button from the shortcut toolbar. You can find this option in the Customizer, under Global > Typography. The Underline Content Links option allows you to accent all links on your website with just one click. This document will help you remove underlined links on specific classes and buttons. Yet, you might not need to have all of your links underlined. This is a useful option especially from the point of your website’s accessibility for visually impaired users. ![]() Since the Astra Theme version 3.6.4, you can underline the links in your content using the “Underline Content Links” option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |