Closed
Description
Preconditions
- Magento 2.2.1
Steps to reproduce
- Go to Content -> Blocks
- Add new block
- Block information:
a. Enable block -> Yes
b. Block title: Contact Us menu
c. Identifier: contactusmenu
d. Store View: All Store Views
e. I am trying to create a contact us form on a cetegory page. I added the following content to the static block editor:
<p>{{block class="Magento\Contact\Block\ContactForm" template="Magento_Contact::form.phtml"}}</p>
<hr />
<p style="text-align: justify;">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
- Now go to Catalog -> Categories
- Select the Default Category then -> Click on Add Subcategory
- Category settings are as follows:
a. Enable Category -> Yes
b. Include in Menu -> Yes
c. Category name -> Contac Us
d. Content -> Add CMS Block -> Contact Us Menu
e. Display Settings -> Display Mode -> Static block only
f. Display Settings -> Anchor -> No
g. Search engine optimization -> URL Key -> Contact
h. Design -> Use Parent Category Settings -> No
i. Design ->Theme -> Magento Luma
j. Design ->layout -> 1 column
k. Design ->layout update XML -> Empty
l. Design ->apply design to the products -> No
M. Click Save.
Expected result
- You can view the contact us page in the menu
Actual result
-
There is a space between the content and the footer. See the image below.
-
The HTML content of this column is:
<div class="column main"><input name="form_key" type="hidden" value="sEXSrkYUlSkpqe2v"><div id="authenticationPopup" data-bind="scope:'authenticationPopup'" style="display: none;">
<script>
window.authenticationPopup = {"autocomplete":"off","customerRegisterUrl":"http:\/\/domain.com\/customer\/account\/create\/","customerForgotPasswordUrl":"http:\/\/domain.com\/customer\/account\/forgotpassword\/","baseUrl":"http:\/\/domain.com\/"};
</script>
<!-- ko template: getTemplate() -->
<!-- /ko -->
</div>
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.1 release lineThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.1 releaseThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release