Is there a way to change this variable in the theme.json?

[ad_1]

–navigation-layout-justify

The variable above seems to define the position for the items in the navigation. Where can this variable be changed within a block theme?

[ad_2]
1 Comment
  1. The best thing to do is duplicate an existing .json style and put it in the styles folder (rename it) and edit the variables or add your own variables where needed.

    You can then select that style from the editor.

    To answer your main question though, it should be in the styles folder. Like sunrise.json

    Also check this

    [https://developer.wordpress.org/news/2023/08/31/adding-and-using-custom-settings-in-theme-json/](https://developer.wordpress.org/news/2023/08/31/adding-and-using-custom-settings-in-theme-json/)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer