Skip to content

A space between the category page and the main footer when applying specific settings #12601

Closed
@wd7080

Description

@wd7080

Preconditions

  1. Magento 2.2.1

Steps to reproduce

  1. Go to Content -> Blocks
  2. Add new block
  3. 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>
  1. Now go to Catalog -> Categories
  2. Select the Default Category then -> Click on Add Subcategory
  3. 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

  1. You can view the contact us page in the menu

Actual result

  1. There is a space between the content and the footer. See the image below.
    magento 2 column

  2. 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>
  1. After the settings I've applied to the category page, this column must be hidden with zero space.
  2. Complete image to the page:
    bug

Metadata

Metadata

Labels

Fixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions