Home › Forums › Themes Support › Claue › How to create a top-right short-cut icon in mobile?
- This topic has 7 replies, 2 voices, and was last updated 7 years, 6 months ago by Harry.
-
AuthorPosts
-
-
June 1, 2017 at 11:44 am #4853
Hi. This theme is really nice.
I want to insert a icon that links a certain page. I don’t know how to add. I can’t find any information about that in a manual.
Is there a way to create a icon beside ‘shopping cart’?
I will set another page to a homepage. so I need to insert shopping-page icon at the top-right.
Is there a way to do that? or, should I use jQuery or something to add icon?
-
June 1, 2017 at 12:11 pm #4855
Hi,
You mean have an icon next to shopping cart icon, when you click on this icon it redirect to page (shopping-cart) ?
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio-
June 1, 2017 at 12:20 pm #4857
-
-
June 1, 2017 at 7:28 pm #4862This reply has been marked as private.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio-
June 2, 2017 at 3:39 pm #4890
wow. Thank you very much.
But, sadly. There’s misunderstanding. I mean that ‘shopping page’ is ‘shop page(…./shop/)’, not ‘shopping cart’. Sorry.
In the file that you uploaded, this part is about adding icon. right?
echo ‘cart->get_cart_url() ) . ‘”><i class=”pe-7s-cart”></i>‘;
in this case, instead of ” $woocommerce->cart->get_cart_url()” , what url should I put that position? or, should I use direct url(“http://www.hirunner.co.kr/shop/”)?
Thanks.
- This reply was modified 7 years, 6 months ago by moko2man.
-
-
June 2, 2017 at 3:58 pm #4893
You can change this code to
echo '<a class="cb chp hide-md visible-sm visible-xs" href="' . esc_url( home_url( '/shop' ) ) . '"><i class="pe-7s-cart"></i></a>';
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio-
June 2, 2017 at 4:28 pm #4896
Thank you very much.
Have a good weekend.
-
-
June 2, 2017 at 4:36 pm #4897
You have nice weekend too :).
Hope you love our theme and help us take a time to give our theme good review at https://themeforest.net/downloads.
We are really appreciate.
Thank you so much!
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.