Is there a way to add background-image to theme.json?

Background image in theme.json is not yet supported In your theme.json file, you can define a CSS class name for the element that you want to add the background image to. For example: “styles”: { “hf-bg”: { “backgroundColor”: “#ffffff” } } In this example, we’ve defined a style called hf-bg that sets the backgroundColor property … Read more

theme.json should be in the child theme folder when using xxxx.json style located in the styles folder?

Short answer: No Long answer: The child themes theme.json will simply use the TT3 theme.json values if a specific value is not found. So you can make a new theme.json file only with the specific values needed for the child theme. An excellent writeup is available here: https://kinsta.com/blog/twenty-twenty-two-theme/#extending-twenty-twentytwo-with-a-child-theme

Narrow paragraph block aligned to left of “wrapper”

Adding my solution so far, though it doesn’t seem ideal to me. Also the .entry-content parent doesn’t get applied in the editor. /* trick to have root paragraphs left-aligned “in the central wrapper” without extra dom */ .entry-content > p{ padding-right:calc(1264px – 830px); max-width:1264px; box-sizing:border-box; } @media only screen and (max-width:1300px){ .entry-content > p{ padding-right:calc(100% … Read more

How to set the background color of a template part (Header/Footer) in Twenty Twentythree?

The Twenty Twenty-Three theme comes with an inbuilt “Editor” option that exists under the “Appearance” menu. Appearance >> Editor Once you click on the “Editor(beta)” option then you can select the header or footer area and after that, you can customize their stylings like Background Color, Text Color, and Link Color. The theme also provides … Read more

Theme.json: creating different sections of the color palette

No, writing as of WordPress 6.0 there is no API for defining additional palette sections. The colour palette component hardcodes 3 PaletteEdit sub-components, theme, default, and custom, where custom is for user defined colours. No dynamic fields or slotfills are provided for extending or adjusting these. Here is the current code: return ( <VStack className=”edit-site-global-styles-color-palette-panel” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)