/

CM Tooltip (CMTG) - Terms - Link Style


Style the Term Link

Back to User Guide

You can customize the style of the highlight as you see fit.

Some Examples of What You can Achieve

Settings

In the plugin settings under the " Glossary Term" tab, you can find a section which controls the look and feel of the term link which appears in every post or page:

Using these settings you can control the following:

Remove the link to the glossary term page  - Select this option if you do not want to show links from posts or pages to the glossary term pages. This will only apply to Post / Pages,and not to the Glossary Index page. For Glossary Index Page settings, please visit the Glossary Index Page tab instead. Keep in mind that the plugin use a<span> tag instead of a link tag and if you are using a custom CSS you should take this into account.

Open glossary term page in a new tab - Select this option if you want glossary term page to open in a new window/tab.

Link text color (regular and on hover) - Set color of glossary link text color, set color of glossary link text color on mouseover.

Link underline color and also the shape of the line beneath the link: - Set the style of glossary link underline and the ability to add the title element to the link. - Select this option if you want to use glossary name as HTML "title" for link


Manually changing the linked term style

You can manually change the linked term style by adding styles to your themes css definitions or the Additional CSS option in the WordPress customizer.

Use the following as an example:

.glossaryLink {font-wight:700;}

or 

a.glossaryLink {font-weight: 900;}

Tip: Link with the same color as text

You may want links to have the same color as the text around them if, for instance, you are using a different background color on separate pages or parts of a page.

You can achieve this by using adding the following code snippet to the style.css file:

span.glossaryLink, a.glossaryLink { color: inherit !important;


More information about the CM Tooltip Glossary WordPress Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center