• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Can we make logo a percentage instead of fixed size?

The style of images on mobile devices is defined by WPB's default CSS file (/css/style.css):

Code:
/* Text */
.mobile-view .widget-text img {
	height: auto;
	max-width: 100%;
	width: auto;
}

Hence, you could achieve the resizing by putting some code into the meta tags field of WPB's advanced settings. It will overwrite the definitions of the CSS file, but for the header image only:

Code:
<style type="text/css">
<!--
.mobile-view .widget-header img {
	width: 50%;
	height: 50%;
}
-->
</style>
 
Last edited:
Back
Top