CMS
Structures
Supportive
NavTextContainer

NavTextContainer

A NavTextContainer is a supportive structure element, which can only be found inside a header structure. The NavTextContainer is part of the possible banners inside a NavItemChildChildren.

Structure examples

Take a look at some examples, to further understand the possibilities, of how a NavTextContainer can be structured.


This example shows a default version of a NavTextContainer.
Nav text container example, showing a default version of it.
{
    "title":{
    "content":"NTC1 default",
    "size":"base",
    "weight":"semibold",
    "classification":"sans"
},
    "displayLinks":[
{
    "url":"https://www.shophub.com",
    "displayText":"DL1/NTC1 default",
    "descriptiveText":"desc"
},
{
    "url":"https://www.shophub.com",
    "displayText":"DL2/NTC1 default",
    "descriptiveText":"desc"
},
{
    "url":"https://shophub.com",
    "displayText":"DL3/NTC1 default",
    "descriptiveText":"desc"
}
    ]
}

Create

POST _apiBaseUrl/v1/cms/structure/supportive/nav-text-container

Code

NavTextContainerDto
{
   "title":{
      "content":"NTC1 default",
      "size":"base",
      "weight":"semibold",
      "classification":"sans"
   },
   "displayLinks":[
      {
         "url":"https://www.shophub.com",
         "displayText":"DL1/NTC1 default",
         "descriptiveText":"desc"
      },
      {
         "url":"https://www.shophub.com",
         "displayText":"DL2/NTC1 default",
         "descriptiveText":"desc"
      },
      {
         "url":"https://shophub.com",
         "displayText":"DL3/NTC1 default",
         "descriptiveText":"desc"
      }
   ]
}

Arguments

title
null

An optional title, placed above the link block.

displayLinksrequired

A list of display links that are rendered in a row.