Add offset to community overview anchor links

Created:
Last Update:

Author: Christoph Stoettner
Read in about 1 min · 164 words

Glass Orb with Patterns

Photo by Michael Dziedzic | Unsplash

Our users are often building Highlights and Overview pages within HCL Connections Communities, where they link from one description widget to RTE or from one RTE widget to another.

We found that these anchor links often disappear behind the top navigation bar and the users wonder what happened.

The link on the left top points to an anchor link on the right side of the Overview

Now the anchor link was clicked, and you see the target anchor is not visible

I created a customization file in <SHARED DIRECTORY>/customization/themes/hikariTheme/applications/communities.css with the following content:

html {
  scroll-padding-top: 250px;
}

Changed the versionStamp in LotusConnections-config.xml and restarted the application servers. Now when we click the link in Communities Overview:

Now the target anchor is visible

Community Highlights

The same offset can be seen in the Highlights App and the solution above will solve it there too.

Highlights with a link pointing to an anchor link

Link clicked with default setting

Link clicked with the deployed communities.css

Author
Add a comment
Error
There was an error sending your comment, please try again.
Thank you!
Your comment has been submitted and will be published once it has been approved.

Your email address will not be published. Required fields are marked with *

Suggested Reading
Card image cap

Last week, I had three systems with issues displaying the Top Updates in the Orient Me. So I tried to find out which applications and containers are involved in generating the content for this view.

Created: Read in about 4 min
Card image cap

With HCL Connections 6.5 and later, we got the add-on HCL Connections Engagement Center (aka CEC, HCEC, ICEC or XCC) included in a normal HCL Connections deployment.

Created: Read in about 6 min
Card image cap

I had one Connections’ environment that I wanted to switch from OpenLDAP to Active Directory LDAP. The old OpenLDAP environment used LDAPS to connect, and so I assumed that the change was done quickly.

The first step was to make a copy of the tdisol folder I used for OpenLDAP and start changing the configuration files for the new LDAP server.

Created: Read in about 4 min