-
AuthorPosts
-
February 22, 2018 at 5:22 pm #916183
Hello Sirs,
How are you?
I would like to move the add to cart button next to cart quantities as shown in screenshot: https://prnt.sc/iic1wx
CSS that I use:
a.button.ajax_add_to_cart {
background: #f05a1a!important;
padding: 5px!important;
border-radius: 5px!important;
color: white!important;
}
a.button.ajax_add_to_cart:hover {
background: #f2743f!important;
color: white!important;
}
.button-mini-delimiter {
display: none!important;;
}
a.button.show_details_button {
display: none!important;;
}Could you help me please?
Thank You in advance.
Best Regards,
NickFebruary 22, 2018 at 8:43 pm #916321Hey nickgin,
We woulkd love to help.
What is your web site URL?Best regards,
BasilisFebruary 23, 2018 at 3:56 am #916479Hello Basilis
Thank you so much for your help.
Shop products: http://zoomit.gr/wordpress_2/store/
relating and crosselling products: http://zoomit.gr/wordpress_2/store/lg-43lh500t-tv-43-led-full-hd-200-hz/I am waiting your precious answer.
Best regards,
NickFebruary 23, 2018 at 8:23 pm #916847Hi,
It seems the way we have generated the CSS of the wrapper of the buttons it is not possible to o that, as the buttons get a lot smaller.
Would need to edit the files of enfold and move the HTML inside of each wrapper so it can work.Best regards,
BasilisFebruary 24, 2018 at 1:26 am #916935Hi Basilis,
Thank you for your quick reply.
Is that easy to you to tell me, which files I have to edit?
Best regards,
NickFebruary 25, 2018 at 6:51 pm #917497Hi,
You would need to move the WooCommerce grid view into your child theme and then edit it ( depends what you are using, if ALB Element, then from the folder shortcodes, else from WooCommerce files ).
Here are the info regarding Child Theme
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
And here is the code if you want to load the ALB element from a Child Theme
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.