Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: h1 title for checkout page #40

Open
fwegberts opened this issue Mar 16, 2018 · 3 comments
Open

Feature request: h1 title for checkout page #40

fwegberts opened this issue Mar 16, 2018 · 3 comments

Comments

@fwegberts
Copy link

Hi,

Can you make an option to set a h1 page title? So customers know they are on the checkout page. See image
schermafbeelding-2018-03-16-om-12 03 26

@danslo
Copy link
Owner

danslo commented Mar 16, 2018

Could be a nice addition, no time in the near future to work on this.

You can just use normal theming system to add it yourself using checkout_index_index.xml though.

@fwegberts
Copy link
Author

Allright, can you give me the code to add this?

@danslo
Copy link
Owner

danslo commented Mar 16, 2018

Use checkout_index_index.xml in your theme, then just add a block to the content container. Same as you would for any other layout customization.

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceContainer name="content">
            <!-- your custom block here -->
        </referenceContainer>
    </body>
</page>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants