Style Current-Page Links in the Divi Link Module with the Current Page Styles Feature
The Current Page styles feature adds design controls to the Divi Link module, so you can customize the appearance of a link when its destination is the page being viewed. You can use the controls to adjust the current-page link’s text styling without changing the appearance of links to other destinations.
This method has been tested on, and is compatible with, Divi 5.
Get the Feature
The Current Page styles feature is provided by a dedicated plugin. If you haven’t installed it yet, you can download and install the plugin to add the controls used in this guide.
You can get the plugin here:
Add or edit a Link module
In the layout where you want the link to appear, add a Link module or open an existing one. Enter a suitable label, then expand the "Link" settings and set the URL to the current page’s own address.
Customize the current-page link style
Open the module’s "Design" tab and expand the "Current Page" section. Use its font controls to choose a text color, size, and weight that suit your design. For example, you could use a contrasting color, a larger text size, or a bolder weight to make the current-page link easier to spot. The example uses deep teal, 22px text, and bold weight; choose styles that work for your own layout.
Publish and check the result
Save or publish the page, then view it on the front end. Confirm that the link to the current page uses your selected style. If you added a link to another destination for comparison, check that it retains its usual appearance.
Extend your navigation styling
If you’re styling links as part of a wider navigation experience, these guides may also help:
Conclusion
You can now use the Current Page styles controls to distinguish links to the page a visitor is viewing, while keeping other links unchanged. If you’re trying to style another kind of link in Divi, feel free to get in touch or leave a comment.


0 Comments