• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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