Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
6.8 kB
1
Indexable
Never
div.fullwidth-wrapper-hero {
  background-image : url("https://bm-test-dev.s3.us-east-2.amazonaws.com/Croud/croc-lc-homepage/Hero_Image.png") !important;
}

div.home-icon {
  background-image : none !important;
}

.home .fullwidth-wrapper-hero {
  background-position : 90% center;
}
@media screen and (min-width: 768px) {
  .home .fullwidth-wrapper-hero {
    background-position : 82.5% center !important;
  }

  .hero-title span {
    display : inline;
  }
}
@media screen and (min-width: 1024px) {
  .home .fullwidth-wrapper-hero {
    background-position : center center;
  }
}
@media screen and (max-width: 767px) {
  .home .fullwidth-wrapper-hero {
    background : rgb(241, 241, 241) !important;
  }

  .hero-title {
    font-size : 22px !important;
  }

  .hero-title span {
    display : none;
  }

  .btn-info {
    min-width : 215px;
  }
}
div.col-sm-8>div:nth-of-type(4) {
  display : none;
}

div.col-sm-8>div:nth-of-type(3) {
  margin : 0px 0px 25px 0px;
}

div.col-sm-8>div:nth-of-type(3)>a:nth-of-type(1) {
  background-color : rgb(108, 194, 74);
  width : auto;
  padding : 6px 18px;
}

div.col-sm-8>div:nth-of-type(3)>a:nth-of-type(2) {
  padding : 6px 18px;
  width : auto;
}

div.home-icon {
  display : none;
}

div.your-home-for {
  margin : 25px 0px 20px 0px !important;
}

#were-free-tooltip-wrapper>a>svg {
  display : none;
}

.bm-telephone-img {
  width : 52px;
  margin-right : 15px;
}

#heroContactNumber {
  padding : 0px;
}

#heroContactNumber>a>span {
  color : rgb(0, 45, 114);
}

#heroContactNumber {
  background-color : rgba(0, 0, 0, 0);
}

div.col-sm-8>div:nth-of-type(3)>a:nth-of-type(1) {
  width : 160px;
}

div.col-sm-8>div:nth-of-type(3)>a:nth-of-type(2) {
  width : 160px;
}



h1.hero-title

<h1 class="hero-title" style="color: rgb(0, 45, 114);">FEE FREE EXPERT ADVICE FROM THE UK'S NO.1 ONLINE MORTGAGE BROKER</h1>


div.col-sm-8

<div class="col-sm-8 col-sm-offset-2"><div class="hero-title-wrapper"><h1 class="hero-title" style="color: rgb(0, 45, 114);">FEE FREE EXPERT ADVICE FROM THE UK'S NO.1 ONLINE MORTGAGE BROKER</h1><div class="your-home-for ff-medium">Get a great mortgage deal that<br> could save you thousands</div><div id="were-free-tooltip-wrapper" class="tooltip-wrapper"><a href="#were-free-tooltip" class="lc-info js-tooltip-trigger" data-tooltip-target="#were-free-tooltip" tabindex="-1"> <svg focusable="false" class="lc-icon-info" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200.74 200.75"><defs><style>.lc-icon-info .cls-1{fill:none;stroke-linejoin:round;stroke-width:9px}</style></defs><g id="icon-info"><path class="cls-1" d="M194.45,100.38A94.08,94.08,0,1,1,100.37,6.29,94.07,94.07,0,0,1,194.45,100.38Z"></path><path d="M114.23,79.76,102.31,136a22.79,22.79,0,0,0-.66,5.3c0,4.64,2.14,6.13,6.79,6.13a10.81,10.81,0,0,0,5.3-1c-.83,11.75-9.28,17-18.22,17-9.93,0-17.72-6-17.72-19.87a54.57,54.57,0,0,1,1.33-10.76L90.39,79.75h23.84Zm-7.45-43a13.16,13.16,0,1,1,0,26.33A13,13,0,0,1,93.7,50,13.13,13.13,0,0,1,106.78,36.74Z"></path></g></svg> </a><div id="were-free-tooltip" class="lc-tooltip text-left lc-tooltip--hidden" style="width:325px"><button type="button" class="lc-tooltip__close js-tooltip-close" aria-label="Close" tabindex="-1"> <span aria-hidden="true" tabindex="-1"> × </span> </button><h4 style="margin-bottom:10px">How you can be sure it's free</h4><p>Like all other brokers, we receive a payment from the lender when the mortgage completes.</p><p>The difference is that unlike other mortgage brokers, we simply choose not to charge our customers a fee on top of this.</p><p>You’ll pay no more applying through us than you would going directly to the lender on the same deal.</p><a href="/about-us/how-we-are-paid/"> Click here to read more </a></div></div></div><div class="home-icon show-phone"></div><div class="oef-buttons-area"><a class="btn btn-info" href="/online/mortgage-finder/?purchaseOrRemortgage=p"> Buy a property </a> <a class="btn btn-info" href="/online/mortgage-finder/?purchaseOrRemortgage=r"> Remortgage </a></div><div>Call free 7 days a week</div><div class="hero-phone hero-phone-button colour-base" id="heroContactNumber" name="heroContactNumber"><a href="tel:+448082920961"><img class="bm-telephone-img" src="https://bm-test-dev.s3.us-east-2.amazonaws.com/Croud/croc-lc-homepage/mobile.png" alt=""><span class="calltracks_lcplccouk-main08" data-calltracks-orig-innerhtml="0808%20292%200724" data-calltracks-replaced-at="1643389234414">0808 292 6858</span></a></div><div style="font-weight: bold; margin-bottom: 10px;">Call free, 7 days a week</div></div>


div.your-home-for
<div class="your-home-for ff-medium">Get a great mortgage deal that could<br> save you around £2500* a year</div>




body.home .page-hero .btn.btn-info:not(.sign-in):first-of-type

console.log('var run');
function getCookie(name) {
        var name = name + "=";
        var decodedCookie = decodeURIComponent(document.cookie);
        var ca = decodedCookie.split(';');
        for (var i = 0; i < ca.length; i++) {
          var c = ca[i];
          while (c.charAt(0) == ' ') {
            c = c.substring(1);
          }
          if (c.indexOf(name) == 0) {
            return c.substring(name.length, c.length);
          }
        }
        return "";
      }
  
      function bmSessionTracking() {
        var icidCookie = getCookie("lcIcidCookie");
        var sessionCookie = getCookie("lcSessionCookie");
        var sliderBtn = document.querySelectorAll('body.home .btn.btn-info:not(.sign-in)');
  
        for (var i = 0; i < sliderBtn.length; i++) {
          var bmLink = sliderBtn[i].getAttribute('href');
          if (icidCookie.length >= 1 && sessionCookie.length >= 1) {
            if (bmLink.indexOf('?') > -1) {
              sliderBtn[i].setAttribute("href", bmLink + "&icid=" + icidCookie + "&leadId=" + sessionCookie);
            } else {
              sliderBtn[i].setAttribute("href", bmLink + "?icid=" + icidCookie + "&leadId=" + sessionCookie);
            }
          } else if (icidCookie.length >= 1) {
            if (bmLink.indexOf('?') > -1) {
              sliderBtn[i].setAttribute("href", bmLink + "&icid=" + icidCookie);
            } else {
              sliderBtn[i].setAttribute("href", bmLink + "?icid=" + icidCookie);
            }
          } else if (sessionCookie.length >= 1) {
            if (bmLink.indexOf('?') > -1) {
              sliderBtn[i].setAttribute("href", bmLink + "&leadId=" + sessionCookie);
            } else {
              sliderBtn[i].setAttribute("href", bmLink + "?leadId=" + sessionCookie);
            }
          }
        }
      }
//call the tracking function 
  setTimeout(function(){
        bmSessionTracking();
      },1000);



h1.hero-title
EXPERT ADVICE in an uncertain market