Banner size

This topic contains 3 reply and 2 voices, and was last updated by towhid 9 years, 4 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
June 23, 2015 at 3:31 pm 52838
towhid Is it possible to set another banner size, or a max banner size for uploading the banner from the dashboard? I need another banner size for my store design.
June 24, 2015 at 8:51 am 52911
towhid towhid

Hello Tor B,

I am really sorry to say that we do not have this kind of feature right now. If you need this feature urgently you can hire a developer or you can customize the plugin on your own if you know how to do programming.

Thanks

June 24, 2015 at 12:07 pm 52940
Tor B Tor B

But is this a fixed size you have set somewhere, so I can change it in the code? I am not asking for a feature, just where to change it.

June 28, 2015 at 2:00 pm 53448
towhid towhid

Hello Tor,

Sorry for my late reply.

Please navigate to plugins/dokan-plugin/templates/store-header.php and find the below line of code.
background-image: url('<?php echo wp_get_attachment_url( $store_info['banner'] ); ?>');

The above code is responsible for fetch the banner image with url.

.profile-frame {
  width:....px ;
  height:....px !important;
}

Set the required width and height in .profile-frame style.

Thanks

Viewing 3 Posts - 1 through 3 (of 3 total)