cancel
Showing results for 
Search instead for 
Did you mean: 

Fixing header logo on my website

SOLVED

Fixing header logo on my website

"How do I fix the header logo of my website, Watch SmackDown Online? The logo appears too big on mobile devices and doesn't align with the menu, making it awkward for visitors. If anyone knows how to fix this issue, please let me know. I would be grateful for your help. Thanks!"

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Fixing header logo on my website

Hello @vreatedbyaba81 

 

Please follow the steps below to fix the issue where the logo appears too big on mobile devices and doesn't align with the menu in Magento 2:

  • First, locate the CSS file of your Magento 2 theme. This can typically be found in the app/design/frontend/[Vendor]/[Theme]/web/css directory.
  • Open the CSS file and search for the CSS selector that controls the logo size and position. This is typically located in a media query that targets mobile devices.
  • Adjust the CSS code to resize the logo and adjust its position so that it aligns with the menu on mobile devices. For example, you can use the max-width property to limit the size of the logo and the margin property to adjust its position.
  • Save the changes to the CSS file and refresh your website to see the updated logo on mobile devices.

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

View solution in original post

1 REPLY 1

Re: Fixing header logo on my website

Hello @vreatedbyaba81 

 

Please follow the steps below to fix the issue where the logo appears too big on mobile devices and doesn't align with the menu in Magento 2:

  • First, locate the CSS file of your Magento 2 theme. This can typically be found in the app/design/frontend/[Vendor]/[Theme]/web/css directory.
  • Open the CSS file and search for the CSS selector that controls the logo size and position. This is typically located in a media query that targets mobile devices.
  • Adjust the CSS code to resize the logo and adjust its position so that it aligns with the menu on mobile devices. For example, you can use the max-width property to limit the size of the logo and the margin property to adjust its position.
  • Save the changes to the CSS file and refresh your website to see the updated logo on mobile devices.

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9