visuality
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Moving top navbarHi there,
it has to to with
.navigation-top
havingposition: relative;
So it’s technically still occupating that space which appears under the gradient, although you shifted it up later.
How to go about it is to make it absolute and give it a position counting from the top.
In the example below I have moved it kinda to where I saw it before.Note that with
position: absolute;
the element also needs a height..navigation-top { left: 55%; position: absolute; top: 143px; width: 40%; background: #AD1D43; height: 70px; }
Good luck with the site. It looks quite nice sofar.
Forum: Plugins
In reply to: [YITH WooCommerce Gift Cards] Add to Cart button not showing in IE 11Wizard,
I don’t know if this is still open for you bit I encountered this bug as well today.
As it happens to be it’s originated in
- ywgc-frontend.js
function show_hide_add_to_cart_button() { var current_selection = $(".gift-cards-list select"); if (!(current_selection.val())) { $("div.single_variation_wrap").css('display', 'none'); } else { $("div.single_variation_wrap").css('display', 'initial'); } }
If you change
initial
toblock
it will also work in IE11.YITH please take note of this too, so I dont have to change it with each update ??
- This reply was modified 8 years, 3 months ago by visuality.
Forum: Plugins
In reply to: [WooCommerce - Gift Cards] german version?Hi,
I was just confronted with the same Task.
The quickest solution I found was to use the Plugin Loco Translate.
That way you can create your own .po in browser and get cracking.Forum: Fixing WordPress
In reply to: Email notification for custom order statusThanks a lot for your help, it really saved me.
I created a custom status “was shipped” and the mail is going out.
At the same time I would like to use the functionality of another plugin that appends the tracking info to the outbound mail automaticaly.
The plugin uses the hook “
woocommerce_email_before_order_table
“.How can I include the hook or just use the custom mail template alltogether.
Do you happen to know if it is possible to assign the template somehow in the mailer process?I saw something like
$this->template_html = 'emails/customer-tracking.php'; $this->template_plain = 'emails/plain/customer-tracking.php';
but it was used in a
public function __construct() {}
thanks a lot in advance