Jump to content

Can not increase the logo size in Classic theme


Toda

Recommended Posts

Hi Toda, welcome to the forum

Your uploaded image is 300px x 53px so it is best to set logo that size. In custom.css line 52 change and add to

#header .logo {
	width: 300px;
	height: 53px;
	box-sizing: border-box;
	min-width: 300px;
}

@media (max-width: 767px) {
	#header .logo {
        min-width: 100%;
	}
}

Save and clear PrestaShop cache if you do not see change. Note that on mobile logo text is bit small and background is white.

Link to comment
Share on other sites

Razaro,

 

Thank you for the great help. I pasted the code in the custom.css But unfortunately, I am not yet able to see the results.

 

Another issue which I face now is that the search box is showing right adjacent to the logo. It should be displayed to on the right side of the page and it should be much wider. But, am at a loss on how to achieve it.

 

Thank you again and regards

Link to comment
Share on other sites

Hi, Toda

Your logo image ratio is 300:53

If you need height: 100px, the min-width should be 566px.

#header .logo {
    height: 100px;
    box-sizing: border-box;
    min-width: 566px;
}

And for the search box. Please write the below code in custom.css

#header .header-top-right {
	justify-content: flex-end;
}

And you need clean your browser cache. In windows Ctrl + F5

Thank you.

Edited by raudsepp (see edit history)
  • Like 1
Link to comment
Share on other sites

Dear Razaro,

 

Thank you again for all the help. I just wanted to request you for one more thing. The menu does not look center alighned. It is gone too far to the left. May I know how to bring it into the center?

 

Thank very much again.

 

Kind regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...