Last active
August 29, 2015 14:23
-
-
Save VladKorzun/452e291652375335d7aa to your computer and use it in GitHub Desktop.
Hotfix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Це в header --> | |
<style type="text/css"> | |
header.site-header { | |
background-repeat: no-repeat; | |
background-position: top center; | |
} | |
.site-search { | |
margin-top: 10px; | |
} | |
.cart-contents { | |
display: none; | |
} | |
a.add_to_cart_button { | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
margin: 0 auto; | |
width: 170px; | |
} | |
span.price { | |
position: absolute; | |
bottom: 35px; | |
left: 0; | |
right: 0; | |
} | |
</style> | |
<!-- це в футер --> | |
(function () { | |
function setEqualHeight (columns) { | |
var tallestColumn = 0; | |
columns.each( | |
function() | |
{ | |
currentHeight = jQuery(this).height(); | |
if(currentHeight > tallestColumn) | |
{ | |
tallestColumn = currentHeight; | |
} | |
} | |
); | |
columns.height(tallestColumn); | |
} | |
setEqualHeight(jQuery(".products > li")); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment