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;
|
||||
display: inline-block;
|
||||
color: #999 !important;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.price-calc-section .card {
|
||||
|
|
|
@ -107,10 +107,14 @@
|
|||
var href = $(this).attr('href');
|
||||
$('.navbar-collapse').removeClass('in');
|
||||
$('.navbar-collapse').addClass('collapsing');
|
||||
if ($(href).length) {
|
||||
$('html, body').animate({
|
||||
scrollTop: $(href).offset().top - 50
|
||||
}, 1000);
|
||||
if (href[0] === "#") {
|
||||
if ($(href).length) {
|
||||
$('html, body').animate({
|
||||
scrollTop: $(href).offset().top - 50
|
||||
}, 1000);
|
||||
}
|
||||
} else if (href) {
|
||||
window.location = href;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue