Home Forums Theme Support Dokan Banner size

This topic is: not resolved

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  towhid 3 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52838

    Tor B
    Member
    Post count: 100

    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.

    #52911

    towhid
    Participant
    Post count: 4505

    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

    #52940

    Tor B
    Member
    Post count: 100

    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.

    #53448

    towhid
    Participant
    Post count: 4505

    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 4 posts - 1 through 4 (of 4 total)

The topic ‘Banner size’ is closed to new replies.