How can I modify the Current class in Webflow so that the background color of the link on the contact us page matches the Services link but with underlined text?

Published on
September 22, 2023

To modify the Current class in Webflow and achieve the desired effect of matching the background color of the link on the contact us page with the Services link, while also underlining the text, you can follow these steps:

  1. Select the link element on the contact us page: Go to the page where you want to modify the link's Current class, and select the link element using either the Navigator panel or by clicking on the link directly in the Designer.

  2. Open the Style panel: With the link element selected, open the Style panel by clicking on the paintbrush icon on the right-hand side of the Designer interface.

  3. Edit the Current class style: Within the Style panel, locate the Current class section. Here, you can modify the styles for the Current state of the link.

  4. Match the background color: To match the background color of the link with the Services link, you need to copy the background color value used on the Services link. You can do this by either inspecting the Services link using your browser's Developer Tools, or by noting the color values used in the Style panel for the Services link.

  • Set the background color: In the Current class section of the Style panel for the link on the contact us page, you can modify the "Background" property and paste the color value you copied from the Services link. This will ensure that the background color of the link on the contact us page matches that of the Services link.
  1. Add text underline: To add an underline to the link text, find the "Text Decoration" property in the Current class section of the Style panel. Change the value of this property to "Underline". Now, the link on the contact us page will display underlined text.

  2. Preview and adjust if necessary: After making these changes, preview your website to see the modified link. If needed, you can further refine the styles by adjusting font size, color, or any other properties in the Current class section.

By following these steps, you should be able to modify the Current class in Webflow so that the background color of the link on the contact us page matches the Services link with underlined text.

Additional Questions:

  1. How do I select an element in Webflow to modify its styles?
  2. Can I create custom classes in Webflow?
  3. How can I apply hover effects to a link in Webflow?