Custom CSS Code:
div.view-ind-team-member.view-id-ind_team_member .views-row {
margin-bottom: 2em;
margin-left: 1em;
}
/*.front #block-views-ind_team_member-block_1 .col-lg-6 {
width: 24%;
}*/
.responsive-slider .slide:nth-of-type(2) {
background-image: url('/sites/default/files/users/diligentinvestors/banners/banner2.jpg');
margin-top: -53px;
}
.front #block-views-ind_team_member-block_1 .col-lg-6 {
width: 25%;
}
}
Custom Script Code:
<script>
$(window).on('load', function() {
let firstRow = $('#block-views-ind_team_member-block_1 .content .view-content');
let secondRow = $('#block-views-ind_team_member-block_1 .content .view-content').clone();
firstRow.find('.views-row:gt(1)').remove();
secondRow.find('.views-row:lt(2)').remove();
firstRow.after(secondRow);
$(' a.schwab').filter(function() {
return this.hostname && this.hostname !== location.hostname;
}).click(function(e) {
if(!confirm('You are now leaving the "Name(s) of Firm(s)" Website and will be entering the Charles Schwab & Co., Inc. ("Schwab") Website. Schwab is a registered broker-dealer, and is not affiliated with "Name(s) of Firm(s)" or any advisor(s) whose name(s) appears on this Website. "Name(s) of Firm(s)" is/are independently owned and operated. Schwab neither endorses nor recommends Diligent Investors LLC. Regardless of any referral or recommendation, Schwab does not endorse or recommend the investment strategy of any advisor. Schwab has agreements with "Name(s) of Firm(s)" under which Schwab provides "Name(s) of Firm(s)" with services related to your account. Schwab does not review the "Name(s) of Firm(s)" Website(s), and makes no representation regarding the content of the Website(s). The information contained in the "Name(s) of Firm(s)" Website should not be considered to be either a recommendation by Schwab or a solicitation of any offer to purchase or sell any securities.'))
{
// if user clicks 'no' then dont proceed to link.
e.preventDefault();
};
});
});
</script>
Custom Powered By AW Button:
Grey
