Documentation
Feedback
Guides
Storefront Development

Storefront Development
(Legacy) CMS Portal
How to use the page title control
How to use the page title control

The <vtex.cmc:searchTitle /> control displays the title of the following pages:

  • Department
  • Category
  • Search

That is, it displays the information entered in the category page registration screen, in the Name field.

The HTML code rendered by the Search Title control has the following pattern:

<h2 class="titulo-sessao">Category</h2>

That is, it renders a heading of level <h2>, with the titulo-sessao class.

By default, VTEX stores are already created with this control inserted into department and category templates.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page