Skip to content

Store logo inherits height and width from luma logo, if no height and width is provided #25042

Closed
@gwharton

Description

@gwharton

Preconditions (*)

  1. Magento 2.3-develop

Steps to reproduce (*)

  1. Create a test logo image of size 400x100 pixels
    examplelogo
  2. Deploy 2.3-develop
  3. Content->Configuration->Global->Edit->Header->Upload Logo Image
  4. Do not set any height and width in config
  5. Refresh cache
  6. View frontend and inspect size of logo image

Expected result (*)

  1. Logo should be 400x100px.

Actual result (*)

  1. Logo is actually 148x43px in size which is the dimensions of luma's logo.svg, even though it is no longer being used.

If the height and width is set in design config to 400x100 pixels, the logo is displayed correctly.

If no height and width are set in config, it should determine them from the actual logo, not luma's logo.

Metadata

Metadata

Assignees

Labels

Area: FrontendComponent: ImageEvent: cd-cologne19Fixed 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.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