Commit 76841094 authored by Chi Bui's avatar Chi Bui 👀

fix css 10/09

parent 92ad0608
This diff is collapsed.
......@@ -133,9 +133,13 @@ for (i = 0; i < acc.length; i++) {
let price = textPrice.eq(i).text();
cost = price.split('').slice(0, 1).join("");
if (cost == "0") {
textPrice.eq(i).text("Liên hệ")
textPrice.eq(i).text("Liên hệ");
}
}
console.log(screen.width);
if($("article.commerce-product.full .field--name-price").text() == "Liên hệ"){
$("article.commerce-product.full .product-right .field--name-variations button").hide()
}
$(window).scroll(function() {
if ($(window).scrollTop() > 130) {
......@@ -199,4 +203,3 @@ for (i = 0; i < acc.length; i++) {
$(".mobile-modal").hide();
})
})(window.jQuery, window.Drupal);
......@@ -17,7 +17,7 @@
<h2>{{ 'Payment instructions'|t }}</h2>
<h4 style= "font-weight: 400">{{ 'You can view your order on your account page when logged in.'|t }} </h4>
<h4>{{ 'Your order number is @number.'|t({'@number': order_entity.getOrderNumber}) }}</h4>
<h4>Your order number is <span style="color: #e94337">{{ '@number.'|t({'@number': order_entity.getOrderNumber}) }}</span> </h4>
<h4 style= "font-weight: 400">{{ payment_instructions }}</h4>
</div>
{% endif %}
......
......@@ -135,7 +135,7 @@
<div class="wrap-header">
<div class="middle-header-wrapper clearfix">
<div class="container-fluid">
<div class="col-md-3 col-xs-7">
<div class="col-md-3 col-xs-7 page-logo">
{% if page.left_middle_header %}
{{ page.left_middle_header }}
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment