Is it possible to create a dropdown menu in Sharepoint 365 in modern experience?

%3CLINGO-SUB%20id%3D%22lingo-sub-2734586%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20create%20a%20dropdown%20menu%20in%20Sharepoint%20365%20in%20modern%20experience%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2734586%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20Sharepoint%20365%20Is%20there%20a%20way%20to%20create%20a%20menu%20that%20drops%20down%20upon%20hovering%20over%20it%3F%20When%20I%20create%20a%20new%20page%20I%20see%20that%20there%20is%20the%20choice%20of%20a%20Wiki%20Page%2C%20Web%20Part%20Page%2C%20and%20Site%20Page.%20I%20tried%20creating%20one%20using%20the%20%3CSTRONG%3EInsert%20%26gt%3B%20Embed%20Code%3C%2FSTRONG%3E%20option%20in%20a%20Wiki%20page%2C%20but%20then%20I%20got%20this%20message%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%3CSPAN%3EThis%20HTML%20cannot%20be%20inserted%20because%20you%20don't%20have%20access%20to%20add%20scriptable%20Web%20Parts%20in%20this%20site.%20Please%20contact%20your%20administrator%20if%20you%20think%20you%20should%20have%20rights%20to%20do%20so.%3C%2FSPAN%3E%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20tried%20Format%20%3CSTRONG%3EText%20%26gt%3B%20Edit%20Source%3C%2FSTRONG%3E%20and%20it%20allowed%20me%20to%20modify%20the%20HTML%20but%20it%20stripped%20out%20all%20of%20my%20CSS%20styling.%20Why%20is%20that%3F%20I%20used%20to%20be%20able%20to%20insert%20a%20Content%20Editor%20in%20Sharepoint%202010.%20Is%20adding%20custom%20HTML%2FCSS%20an%20option%20in%20Sharepoint%20365%3F%20If%20not%2C%20what%20are%20the%20alternatives%20for%20creating%20a%20basic%20dropdown%20navigation%20menu%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2734586%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

In Sharepoint 365 Is there a way to create a menu that drops down upon hovering over it? When I create a new page I see that there is the choice of a Wiki Page, Web Part Page, and Site Page. I tried creating one using the Insert > Embed Code option in a Wiki page, but then I got this message:

 

"This HTML cannot be inserted because you don't have access to add scriptable Web Parts in this site. Please contact your administrator if you think you should have rights to do so."

 

Then I tried Format Text > Edit Source and it allowed me to modify the HTML but it stripped out all of my CSS styling. Why is that? I used to be able to insert a Content Editor in Sharepoint 2010. Is adding custom HTML/CSS an option in Sharepoint 365? If not, what are the alternatives for creating a basic dropdown navigation menu?

1 Reply
We don't have a content editor replacement for SPO provided by Microsoft. However, there are SPFx WebParts (at least one to my knowledge) in Github that makes that job: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor