0

So I set up a child template off of 2023 WP 6.2.2 ....

I then added my own template (Template one) however the thing i'm not sure of is how to do is edit the HTML of the template...

So a few questions:

  1. I don't see a new HTML file when I create a new template... not sure if this is how it is supposed to happen.
  2. The Main div has the "class="wp-block-group" style="margin-top: var( --wp--preset--spacing--50 );" not sure in my new template how to get rid of the style part... I don't want or need it.

The Directory Structure

enter image description here Thanks

4
  • Please edit your question and tell us how you added a new template. Template files in a theme are PHP files, not HTML, so you might be looking for something along the line of template-one.php.
    – Pat J
    May 30 at 3:49
  • 1
    @PatJ In full site editing themes templates are HTML files. May 30 at 9:53
  • @PatJ so here is my structure and the templates I created in the bottom image... May 30 at 12:47
  • @JacobPeattie Huh, I didn't realize that.
    – Pat J
    May 30 at 13:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.