Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [modern-pages]

Modern pages are a foundational component of the SharePoint Modern Experience first introduced in SharePoint Online and SharePoint 2019 on-premises. Modern Pages are designed to be faster to build and be automatically responsive to all device screen sizes without additional effort. When you create a page, you can add and customize web parts, and then publish your page with just a click.

Filter by
Sorted by
Tagged with
1 vote
2 answers
104 views

Change the font size of the Section Name on a Collapsible Section

I have created a collapsible section, and I want to change the font size of the Section Name. Is this possible?
Noelene Benjamin's user avatar
0 votes
0 answers
32 views

Create new page option in site pages library does use the default custom page template in SharePoint Modern site

I have created a custom page template in modern SharePoint online site and set that to default page template. While trying to create a page from NEW>PAGE within the site pages library, it does not ...
Kailash Sahoo's user avatar
0 votes
1 answer
25 views

How to redirect user to the page where the file opened in SharePoint modern site

I have an image webpart in one of the sitepage. The image is linked to open a pdf file and the link is as below format. https://abc.sharepoint.com/:b:/r/sites/744/Shared Documents/24Jan2024.pdf?csf=1&...
Kailash Sahoo's user avatar
0 votes
2 answers
257 views

How to put more than one image in one line or one row in Text Web Part in SharePoint Online

I have a text webpart in a modern SharePoint page. Now I have a need to insert 3 different images in one line or over one row. I tried putting the same , but the images are not staying in one line. ...
Kailash Sahoo's user avatar
1 vote
1 answer
16 views

Need help in getting default SharePoint online URL for new SitePage

I have a requirement to place a button on a page. While clicking the button it will take the user to the the new site page creation page in edit mode where user will directly update the contents ...
Kailash Sahoo's user avatar
1 vote
1 answer
120 views

How to include content of one page in another page in Sharepoint Online (modern)?

I am quite new to Sharepoint and I would like to create reusable building blocks. Lets say I create a modern Page A in Sharepoint Online and include some contact persons (created using People WebPart)....
Stefan's user avatar
  • 141
0 votes
1 answer
484 views

How to create a redirect page For a SharePoint online List Form modern

I'm looking at using Modern OOTB list form. But my question is does the redirect url trick still works by using the ?Source parameter. This is for Modern SharePoint For example like below https://xxxx/...
naijacoder's user avatar
  • 4,282
0 votes
0 answers
77 views

News Webpart Question - Can I filter based on a (Page Properties) column created in another site?

I would like to use the news webpart to display news content in another site. My issues is I don't get to see my columns that i created for filtering on the source site(It doesn't show the page ...
naijacoder's user avatar
  • 4,282
0 votes
2 answers
59 views

SharePoint Online list view web part is showing all items view instead of the view I selected in the editing pane

I need to track if specific documents have been created or found. I created a List with the documents we need along with a Yes/No dropdown to indicate if the document has been uploaded to SharePoint. ...
Kate Fonzi's user avatar
0 votes
1 answer
37 views

Hub site page global navigation inheritance

I've spent hours reading about global navigation but I can't seem to find a definite answer. I understand that pages created under a hub site will inherit the global navigation menu from the hub site. ...
Mark's user avatar
  • 1
0 votes
2 answers
53 views

Can I always by default have Title Region for Site Page set as 'Plain'?

When creating a new page, it always needs to be set as 'Plain' for Title Section. Can I achieve this and how?
private7's user avatar
  • 125
0 votes
0 answers
37 views

In Text web part, the Move Image button does nothing

I'm a new SharePoint Online (modern experience) user, so maybe I'm doing something wrong… In a Text web part, after adding an image (using the button on the toolbar), I can click on the image to ...
James6M's user avatar
1 vote
1 answer
90 views

Is there a way to "program" button web parts?

Essentially, I need a button, or some other mechanism, to send users to different lists depending on the user's name. I've accomplished this with a Power App embedded into the SharePoint page, where I ...
Aidan Meyer's user avatar
0 votes
1 answer
85 views

sharepoint online modern search - add link to external site

is there a way to add a link to an external site in sharepoint online modern search? or is there a way for this link to be the first results at all time? Understand that PnP Modern Search web part is ...
IsaK's user avatar
  • 1
0 votes
0 answers
46 views

How to hide Template Pages from search?

Modern Page templates are shown on search results. This creates a bad UX cause there's no clear indicator that is a Template on the way results are shown. Any way, via a system field or so, to filter ...
fallout's user avatar
  • 1,015
0 votes
1 answer
615 views

Use page properties to filter content on modern page

I have a SPO site with modern pages. I've given the pages some extra metadata and am using the Page Properties webpart. I'm trying to use the Highlighted content webpart to show content specifically ...
Rothrock's user avatar
  • 3,010
0 votes
0 answers
663 views

What is the preferred image size & aspect ratio for Quick Links which is using Grid layout + which are inside 2 columns section with vertical section

I have a modern SharePoint page which have a vertical section + 2 columns layout. inside the first column i have a Quick Link web part named "Marketing" which is rendered using the Grid ...
microsoftdeveloperdesigner's user avatar
0 votes
1 answer
55 views

Modern pages: impossible to set as default view anything else than grouped by author?

I am not a big fan of grouping by author but trying to make "all pages" default seems impossible. Any advice?
susan's user avatar
  • 2,678
1 vote
1 answer
89 views

How to mark a page as a language copy?

I have a SharePoint Online site, where I need to translate some pages into different target languages. My site's default language is English, thus the source language of a page is always English. The ...
privm's user avatar
  • 23
0 votes
0 answers
91 views

SPFx web part shrinking when deployed and in workbench

My custom web part is no where near the actual size of the application when I do gulp serve, and the same happens when I deploy the web part to the App catalog. I've tried looking for answers online, ...
dreamy's user avatar
  • 1
0 votes
1 answer
705 views

Full width section image not zooming

I created Full width section in SharePoint Online page and added Image web part to it. My image is quite narrow with size 2560x394. All seems fine on computer screen, however on mobile screen this ...
pirmas naujas's user avatar
0 votes
1 answer
207 views

Display list of pages based on author byline field

one tricky question. I have a modern SPO page with an article and all mandatory attributes filled, including author byline field. Than a simple task comes from the management for which I do not have ...
Molik's user avatar
  • 1,616
0 votes
1 answer
1k views

Unable to add Site Page under SharePoint Online Site Pages Library

I am using the SharePoint Online Classic site. I need to add Modern Site Page under the Site Pages library. I have tried to add a new page under the Site Pages library. But the add Site Page option is ...
thedeepponkiya's user avatar
0 votes
1 answer
371 views

Trying to write a PnP Power shell script to update Highlighted Content WP within a page

I am trying to build a Pnp PowerShell script that will update Highlighted Content webpart on a Modern SharePoint Online page from Grid View to List view. I am using Convertfrom-Json and Convertto-json....
Luke's user avatar
  • 13
0 votes
0 answers
1k views

Customize Document Card Preview PNP Modern Search

I am working on the layouts of the PnP modern search. I am using the document card to show the results. It has the preview enabled but I would like to make the preview box bigger with CSS. Is this ...
Damola Sogunro's user avatar
0 votes
1 answer
690 views

SharePoint Online: How to remove vertical scroll bar in Embed webpart when using iframe?

I want to embed an image map into a modern SharePoint page. The code for the image map is saved as an .aspx file. When I put https://company.sharepoint.com/toolsresources/TestModernSite/SiteAssets/...
vrm's user avatar
  • 17
1 vote
1 answer
1k views

Change color Title from a page sharepoint

So I'm trying to change this page Title Color Every time I put a background image the title goes white, but I need this still black, have some way to do this?
Maicke's user avatar
  • 21
1 vote
0 answers
87 views

How to update page description with API?

I am using the rest API for updating the content of a page on a Modern Site. I am POSTing this { "__metadata": { "type": "SP.Data.SitePagesItem" }, &...
privm's user avatar
  • 23
1 vote
1 answer
406 views

Can we widen the column to the left so that the full text is displayed?

Can we widen the column to the left so that the full text is displayed?
Harris's user avatar
  • 595
0 votes
1 answer
543 views

Align Text and Increase Font Size of SharePoint Global Navigation

I would like to Align text to center of the global Navigation and Change the font size and color of the menu, I have tried looking for class or id from the page but somehow it links to the site ...
striker92's user avatar
  • 113
0 votes
1 answer
5k views

SharePoint Modern Page - Hide Edit , Analytics , Page details options

I have to hide the New , Page Details, Analytics and Edit option to all users expected site owners. I can't use SPFx in my site, is there any other way I can hide these bar. Any solution would be much ...
Jegan Baskaran's user avatar
0 votes
0 answers
104 views

Unable to Save or Publish new modern pages in Sharepoint 2019 on-prem

Sharepoint Server 2019 no longer has any buttons to Save or Publish new pages created with Add New Page (non-wiki). It is somewhat puzzling, as I am still able to create new lists, doc libraries and ...
Aleksandr Alekseev's user avatar
0 votes
1 answer
2k views

Fixed Page Contents- "sticky" header/nav

I am trying to create a 'fixed'/floating table of contents/navigation for a SharePoint page such that the sidebar contains links to various parts of the page and these links remain visible as the user ...
steph's user avatar
  • 101
0 votes
1 answer
948 views

Vertical section position

My page is in Arabic, by default the vertical section is on the left of the page. Can I change the position of the vertical section to the right of the page. Thank you very much.
M BIT's user avatar
  • 29
0 votes
2 answers
3k views

How to create a right side menu in a page?

I want to put the company policy on the page as text, and I want to create a list of the contents of this policy such as introduction, table of contents, glossary, etc. I want this list to be on the ...
M BIT's user avatar
  • 29
0 votes
2 answers
74 views

Adding row in the middle of 2 div class in SharePoint page

How can I add new row in the middle of two div elements (.commandBarWrapper .ms-CommandBar) and (bottomNavRow-46)? Is there anyway i can add this without using or installing anything.
sweetcha143's user avatar
0 votes
1 answer
61 views

How to associate a Template (Modern SP-Page) with a custom content type?

I tried to create a custom Content Type based on Site Page, but I cannot associate a certain Modern Page Template to it (Error occurs on creation). Is there any way to overcome or workaround this?
fallout's user avatar
  • 1,015
0 votes
1 answer
2k views

How to hide Quick Launch on a Modern Page?

I have a SharePoint Online site using Modern pages. I know that under Navigation Settings you can turn off the Quick Launch, but it only appears to work on classic pages (Site Settings, Site Content, ...
CigarDoug's user avatar
  • 1,063
1 vote
2 answers
834 views

Send a notification on like or comment of modern Site pages

With current setting, author of modern site pages are getting notification on like or comment of the modern site page(SharePoint Online), but I want to send notification to another set of people or ...
Sivanrv's user avatar
  • 91
0 votes
1 answer
691 views

Using SharePoint Site Template Powershell - Home Page Layout/Web Parts not working - SharePoint Online - Modern Pages

I am using PowerShell Get-SPOSiteScriptFromWeb and Add-SPOSiteScript etc. I am able to copy links, create lists, etc. But my HomePage webparts/layout is not reflected when I apply the site script ...
Mark Apolinar's user avatar
0 votes
1 answer
947 views

SharePoint Modern Page - Quick Launch - Any way to add borders around the links?

I've been tasked to try and recreate an html hard-coded navigation menu onto an SP Modern Team Site homepage. The functionality (cascading sublinks) is already there, which is great. But I need to ...
Chris's user avatar
  • 409
0 votes
1 answer
668 views

How to add mp3 file in modern SharePoint site?

I need to add an audio (mp3) file in the modern SharePoint site. I found information that I can do that by using embed code: <iframe src="pathtomyaudiofile.mp3" width="100%" ...
Julia's user avatar
  • 1
0 votes
1 answer
91 views

Show column value on page

How can a value (i.e. site property) be shown on the page itself? In a page library, I've added a Year column. How can I display the Year column value for this page on it?
Mister 832's user avatar
0 votes
1 answer
254 views

SharePoint Activity WebPart show emails to all users

I think I discovered a bug on SharePoint Online but maybe this is intended behavior? When I create a SharePoint Online team site, a home page with different webparts is created. One of the webparts, ...
Odo Fiacre's user avatar
0 votes
2 answers
297 views

Search Results Web Part does not display correct thumbnail

I've got a search results web part on a page, targeting a document library with .gif and .png files, but getPreviewSrc returns a different value from getUrl (preview returns an image from outside of ...
Diogo Santo's user avatar
0 votes
1 answer
244 views

SPFX modern page remove edit page button

is there a way to hide edit page button and replace it with another icon link to say unable to edit until page is approved? idea is to remove the edit button so users cannot edit until the page has ...
Ardian's user avatar
  • 1
1 vote
0 answers
106 views

Can we show a modern Calendar view for our Event list inside our modern communication site

We have created a modern communication site, which comes with a Event list, as follow:- now we are trying to show a modern Calendar view inside our modern page for this Event List, but we only got ...
John John's user avatar
0 votes
1 answer
73 views

Static information on SharePoint Online page for different views

I have quick links to different views of the same SP List. I need to place the same information (instructions etc.) at the top of all the pages showing different views. How do I place the static ...
endOfTunnel's user avatar
1 vote
1 answer
548 views

Issue in collapsible section SharePoint online

I have an issue in the collapsible section in SharePoint online. I'm trying to add a new section in a site page and whenever I try to edit it in order to add a title in the text field of the ...
roberto hajj boutros's user avatar
0 votes
1 answer
5k views

Remove white space from left and right inside our SharePoint modern home page

We have added a new modern page as the home page for our modern communication site, as follow: but currently on the left and right sides of the page they is a lot of white spaces, so is there a way ...
John John's user avatar

1
2 3 4 5 6