Skip Navigation

[Resolved] I need to place an icon before the TEST text.

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Pat 5 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1218513

Pat

Hi Luo,

Thanks for this clarification. I have just placed the [wpv-woo-buy-or-select add_to_cart_text=" PANIER" link_to_product_text="PANIER" show_variation_options="yes"] and it's now working (don't know why it was not before ?).

Anyway, I need to place an icon before the TEST text.
How can I add something like <span class="glyphicon glyphicon-search" aria-hidden="true">
I tried to place it near the Add to cart" text but it's not working.

Regards
Pat

#1218516

Hello,

There isn't such kind of feature within shortcode [wpv-woo-buy-or-select], you might consider custom JS codes to insert the HTML codes to where you want, for example jQuery insertBefore():
hidden link

#1218539

Pat

Hi Luo,

In fact, I have used the following ccs :

button.single_add_to_cart_button:before {
display: inline-block;
font-family: 'ETModules';
content : "\e07a";
font-weight: 300;
margin-right: 1em;
}
That's fine
Thanks
Pat