Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor angelleye

    (@angelleye)

    Do you have a specific question about that?

    Thread Starter MeatRo

    (@meatro)

    Yes, where is the code for that button generated? It seems to come from all over the place to me, but I’m not great at JS.

    Thread Starter MeatRo

    (@meatro)

    Ok, I got the <span> in there.. Found that in

    /public/class-offers-for-woocommerce.php

    $tab_title = (isset($button_options_display['display_setting_custom_make_offer_btn_text']) && $button_options_display['display_setting_custom_make_offer_btn_text'] != '') ? $button_options_display['display_setting_custom_make_offer_btn_text'] : __( '<span class="icon-chat-empty"></span>Make Offer', $this->plugin_slug );

    Now all I need to find out how to do is add the “with_icon” class to the list item..

    class="tab_custom_ofwc_offer_tab "

    to

    class="tab_custom_ofwc_offer_tab with_icon"

    Thank you! Very awesome plugin, by the way. I love it.

    Thread Starter MeatRo

    (@meatro)

    Very simple… haha.. I just inserted this as the button text in settings:

    <span class="icon-chat" style="font-size: 18px;margin: auto auto 10px;text-align: center;z-index: 1;position: static;left: 10px;top: 9px;background: rgba(0, 0, 0, 0.25);color: #fff;display: block;height: 30px;line-height: 30px;width: 30px;"></span>

    Thanks again!!

    Thread Starter MeatRo

    (@meatro)

    Resolved

    Plugin Contributor angelleye

    (@angelleye)

    Glad you got things working the way you need! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Make Offer Tab Icon’ is closed to new replies.