Solved Templates

Article Navigation without the title of the article

Asked by Michal Jablosnki 3 years ago Last activity 3 years ago

Hi
In Helix template I hvave set:
Articles>Navigation - show, which results in that after each article I have navigation to the previous and next article.
The problem is that the article titles are used here, can I change it so that only the 'previous' and 'next' ones are shown?

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 years ago · edited

I think I know...

it was done for accessibility, and somebody forget to update styles.
I talk about that: https://getbootstrap.com/docs/5.0/helpers/visually-hidden/


Solution, add that custom CSS:

.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

5 more replies

Paul Frankowski Senior Staff

Czesc Michał,

I will check on my site and let you know soon. Give me a few minutes.

Michal Jablosnki Asked this

Cześć
Co u Ciebie? :-) Twoje książki są super aktualne teraz...

Dziękie za pomoc

Paul Frankowski Senior Staff
3 years ago · edited

Can you share subpage URL where you have it?

Michal Jablosnki Asked this

yes

Michal Jablosnki Asked this

Great! Thank you for your help.

Log in to reply.