1

I added Hero web part in modern SharePoint online page and added some pictures in tiles.

Issue is that the pictures has to have a link.

But, I don't want to have links and just want to display the pictures. I tried using "#" but the system is not accepting.

How to achieve this?

4 Answers 4

2

Well, you're almost there actually with #. Just don't put plain #. Edit your specific Hero image, select "From a Link", copy the address bar your current page URL removing all additional query strings, and then add #. enter image description here

1
  • That worked.. Thanks :) Feb 1, 2021 at 11:44
0

If you only want to display pictures, just try to use the image gallery web part.

Have a try with it:https://support.microsoft.com/en-us/office/use-the-image-gallery-web-part-bbcbe560-14a7-4369-8ef5-3255845e3bfd

0

If you are using you have to add a link to a document or page or Image. there is no out of the box to remove it.

Instead of using Hero webpart, you can use Image Gallery webpart in SharePoint Online. But you will not get the exact look and feel as of Hero webpart.

In Image gallery webpart, you will get 3 different layouts:

  • Brick
  • Grid
  • Carousel

Also, you can choose to show the static/selected images or you can dynamically display images from a document library.

enter image description here

Microsoft official documentation: Use the Image Gallery web part

If you want the exact look and feel then you have to develop the custom webpart using SharePoint Framework.

2
  • In worst case you have to provide the link to same page. It will not redirect user to another pages/link but it will refresh the same page. Nov 12, 2020 at 8:30
  • Hi @Rajana, Does this answer your question? If Yes, Please Upvote(^) and accept as an Answer as it will help others with same problem in future. If you have any doubt please ask here. Nov 24, 2020 at 15:29
0

a bit more detail:

To disable the link at the Hero frame level:

  1. Edit the Hero webpart
  2. Hover over the Hero frame you want to edit and click the pencil to edit
  3. Click the Change button and paste in the URL of your site, replacing the "?" and everything to the right of it with a "#"

To disable the link at the Hero frame's "Call to action" level:

  1. Within the "Call to action link" box, paste in the URL of your site, replacing the "?" and everything to the right of it with a "#"

Repeat for every Hero frame you want to remove the links from.

That's it!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.