File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/developer/howtos/website_themes Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -443,11 +443,11 @@ Use the following code to add an option for your new custom header on the Websit
443
443
.. code-block :: xml
444
444
:caption: ``/website_airproof/views/website_templates.xml``
445
445
446
- <template id =" template_footer_opt " inherit_id =" website.snippet_options" name =" Footer Template - Option" >
447
- <xpath expr =" //we-select[@data-variable='footer -template']" position =" inside" >
446
+ <template id =" template_header_opt " inherit_id =" website.snippet_options" name =" Header Template - Option" >
447
+ <xpath expr =" //we-select[@data-variable='header -template']" position =" inside" >
448
448
<we-button title =" airproof"
449
- data-customize-website-views =" website_airproof.footer "
450
- data-customize-website-variable =" 'airproof'" data-img =" /website_airproof/static/src/img/wbuilder/template_footer_opt .svg" />
449
+ data-customize-website-views =" website_airproof.header "
450
+ data-customize-website-variable =" 'airproof'" data-img =" /website_airproof/static/src/img/wbuilder/template_header_opt .svg" />
451
451
</xpath >
452
452
</template >
453
453
@@ -666,12 +666,12 @@ active footer template first.
666
666
.. code-block :: xml
667
667
:caption: ``/website_airproof/views/website_templates.xml``
668
668
669
- <template id =" template_header_opt " inherit_id =" website.snippet_options" name =" Footer Template - Option" >
669
+ <template id =" template_footer_opt " inherit_id =" website.snippet_options" name =" Footer Template - Option" >
670
670
<xpath expr =" //we-select[@data-variable='footer-template']" position =" inside" >
671
671
<we-button title =" airproof"
672
672
data-customize-website-views =" website_airproof.footer"
673
673
data-customize-website-variable =" 'airproof'"
674
- data-img =" /website_airproof/static/src/img/wbuilder/template_header_opt .svg" />
674
+ data-img =" /website_airproof/static/src/img/wbuilder/template_footer_opt .svg" />
675
675
</xpath >
676
676
</template >
677
677
You can’t perform that action at this time.
0 commit comments