Merge pull request #592 from tiwariav/bugfix/dcl_cms_section_iamge_caption
Bugfix/ dcl cms section image caption
This commit is contained in:
commit
7ef37de084
2 changed files with 9 additions and 4 deletions
|
@ -549,6 +549,7 @@ textarea {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #999 !important;
|
color: #999 !important;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.price-calc-section .card {
|
.price-calc-section .card {
|
||||||
|
|
|
@ -107,10 +107,14 @@
|
||||||
var href = $(this).attr('href');
|
var href = $(this).attr('href');
|
||||||
$('.navbar-collapse').removeClass('in');
|
$('.navbar-collapse').removeClass('in');
|
||||||
$('.navbar-collapse').addClass('collapsing');
|
$('.navbar-collapse').addClass('collapsing');
|
||||||
if ($(href).length) {
|
if (href[0] === "#") {
|
||||||
$('html, body').animate({
|
if ($(href).length) {
|
||||||
scrollTop: $(href).offset().top - 50
|
$('html, body').animate({
|
||||||
}, 1000);
|
scrollTop: $(href).offset().top - 50
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
|
} else if (href) {
|
||||||
|
window.location = href;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue