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 @@ -421,11 +421,11 @@ Use the following code to add an option for your new custom header on the Websit
421
421
.. code-block :: xml
422
422
:caption: ``/website_airproof/views/website_templates.xml``
423
423
424
- <template id =" template_footer_opt " inherit_id =" website.snippet_options" name =" Footer Template - Option" >
425
- <xpath expr =" //we-select[@data-variable='footer -template']" position =" inside" >
424
+ <template id =" template_header_opt " inherit_id =" website.snippet_options" name =" Header Template - Option" >
425
+ <xpath expr =" //we-select[@data-variable='header -template']" position =" inside" >
426
426
<we-button title =" airproof"
427
- data-customize-website-views =" website_airproof.footer "
428
- data-customize-website-variable =" 'airproof'" data-img =" /website_airproof/static/src/img/wbuilder/template_footer_opt .svg" />
427
+ data-customize-website-views =" website_airproof.header "
428
+ data-customize-website-variable =" 'airproof'" data-img =" /website_airproof/static/src/img/wbuilder/template_header_opt .svg" />
429
429
</xpath >
430
430
</template >
431
431
@@ -634,12 +634,12 @@ active footer template first.
634
634
.. code-block :: xml
635
635
:caption: ``/website_airproof/views/website_templates.xml``
636
636
637
- <template id =" template_header_opt " inherit_id =" website.snippet_options" name =" Footer Template - Option" >
637
+ <template id =" template_footer_opt " inherit_id =" website.snippet_options" name =" Footer Template - Option" >
638
638
<xpath expr =" //we-select[@data-variable='footer-template']" position =" inside" >
639
639
<we-button title =" airproof"
640
640
data-customize-website-views =" website_airproof.footer"
641
641
data-customize-website-variable =" 'airproof'"
642
- data-img =" /website_airproof/static/src/img/wbuilder/template_header_opt .svg" />
642
+ data-img =" /website_airproof/static/src/img/wbuilder/template_footer_opt .svg" />
643
643
</xpath >
644
644
</template >
645
645
You can’t perform that action at this time.
0 commit comments