• Resolved Fabricio10

    (@fabriciobarros10)


    the entire store area needs to be clickable for the store link.

    Only the red ball and the title is currently clickable, I need the banner to be too, as the mobile device makes it easy to use

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello @fabriciobarros10 ,

    Sorry, I am not from the support team. but I can help you with that I already did that on my site. you have to customize the PHP file in the Dokan plugin.

    dokan plugin –> dokan-lite/templates/store-lists-loop.php

    line 29
    replace :
    <div class=”store-content <?php echo ! $store_banner_id ? esc_attr( ‘default-store-banner’ ) : ” ?>”>

    with:

    <div class=”store-content <?php echo ! $store_banner_id ? esc_attr( ‘default-store-banner’ ) : ” ?>” onclick= “location.href='<?php echo esc_url( $store_url ); ?>’;” style=”cursor:pointer;” >

    put in your mind you have to do it every time you update the plugin.

    • This reply was modified 3 years, 10 months ago by Caridor.
    • This reply was modified 3 years, 10 months ago by Caridor.
    Thread Starter Fabricio10

    (@fabriciobarros10)

    it worked, thank you very much ??

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @shaar7

    one more little thing; is it possible to change the color by clicking? a little whitish when clicking? (over)

    @fabriciobarros10

    Sorry i didnt get your point exactly. you want to the color of the button to change or the whole vednor card to be changed? once click or hover?

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @shaar7 YES

    in this case, you need to modify in the CSS.
    try this but you need to change the color :

    #dokan-seller-listing-wrap.grid-view .store-content :hover{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    background: white;

    }

    not sure if it will work because the CSS is different from theme to another.

    Thanks ??

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @shaar7

    it didn’t work ??

    my theme is shopical

    Hello @fabriciobarros10 ,

    You can share the page link so that we can see if you have a different class on the store listing.

    It will make it easier to share the suggestion.

    Thank you ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘clickable area’ is closed to new replies.