Forum Replies Created
-
AuthorPosts
-
We are having this issue also , is there a fix?
Thank you, this has finally worked. Thank you very much :)
The button is misaligned on mobile devices however..
- This reply was modified 7 years, 4 months ago by Gekko101. Reason: Update
Thank you so much for your reply, I have added the closing tag however it makes no difference.
I keep going round and round in circles with this one… :(
Thanks Mike, let me know what you think, I have a client breathing down my neck on this one ;(
Also I note when I post the code here, the forum strips some of the details out
Thanks for the reply mike, however it changed the style of the button, but it still adds the item to the cart and doent link out to the nominated URL
Thanks, I tried this but if I remove button type=”submit” it removes the entire button and just leaves behind the text?
Thank you, this works!
However when I click the new ‘Commercial Finance’ button, instead of linking out to the relevant page it adds the item to the cart instead?
The full code I’m using is –
add_action(‘woocommerce_after_add_to_cart_button’, ‘cmk_additional_button’);
function cmk_additional_button() {if ( is_product() && has_term( ‘Commercial Gym Equipment’, ‘product_cat’ ) ) {
echo ‘<button type=”submit” class=”button alt”>Commercial Finance Available</button>’;
}
}
Why is this new button adding products to the cart, its only meant to be a button that links to a page?- This reply was modified 7 years, 4 months ago by Gekko101.
Thanks, however this code doesnt work for me and doesnt change this?
.single_add_to_cart_button {
margin-right: 10px;
}The extra button seems to have the class – button.button.alt (I could be wrong)
How can I pad this new button or in fact pad the existing ‘Add to cart’ button to make a space between the 2 buttons?
Thanks, I got it working here (link supplied)
How can I pad the space between the new button and the Add to Cart button?
The console errors are to do with icons only btw.
Thanks for the reply, however can you explain how that relates?
Is the code snippet I’m using correct, what functions file do I edit?
Is there a specific console error that’s stopping this from working?
BTW – Your current Theme Version Number is 3.8.3
December 14, 2016 at 12:29 pm in reply to: Color Section Background images stopped working after update? #724227Seems to the Parallax effect, if I turn it to ‘scroll’ the images work.
Any fix so I can use Parallax as before?
December 14, 2016 at 12:22 pm in reply to: Color Section Background images stopped working after update? #724224Any ideas on this? Anyone?
Perfect, thanks Yigrit!
Doesn’t seem to happen with woocommerce cat pages, just the homepage?
March 24, 2016 at 12:17 am in reply to: Woocommerce Product images all at one side on mobile #602844Any CSS fix for this one?
October 28, 2015 at 11:29 am in reply to: Cart icon and Mobile menu button not liking each other at all on tablets.URGENT #526005Hi, works perfect thanks.
Also, how can I force the mobile menu to be used when an iPAD retina is used in landscape mode?
October 26, 2015 at 5:48 pm in reply to: Dont want transparent header on mobile, only desktop? #525096Thanks :)
October 24, 2015 at 12:00 am in reply to: Dont want transparent header on mobile, only desktop? #524153Perhaps this explains it better.
http://gekko2015.s3.amazonaws.com/mobile-header-help.jpg
I have a transparent header for the homepage on the desktop version of the site
Client waiting, under pressure :)
- This reply was modified 9 years ago by Gekko101.
This helped me also, thank you.
Thanks Elliot!
October 23, 2015 at 10:35 am in reply to: Category page Woocommerce – BROKEN – Format text/media at top? #523577Thank you
Can you tell me how to set a specific sidebar for the shop category view?
Thank you very much Sir.
Thanks, this works :)
However, is there a way to set it so it doesn’t effect the prices in the footer widgets area also? I would prefer them to be the standard colors.
Sure –
Perhaps the vertical menu from the Enfold Photographer demo would work, can it be expandable? If so how do I use this menu?
Sorry, Im an idiot. I wasn’t scrolling far enough on the color section options. Got it. :)
-
AuthorPosts