1) { doc.querySelectorAll(‘.view-display-id-homepage_alert_banner’)[1].fashion.show = ‘none’; } } ]]]]>]]>Terms & ConditionsData Protection PolicyNeed help? Reach us here.Advertise with usSPH Digital Information / Copyright © 2021 Singapore Press Holdings Ltd. Co. Regn. No. 198402868E. All rights reserved Subscribe to THE STRAITS TIMES name
6388-3838

Join our day by day e-newsletter

By registering, you conform to our T&C and Privateness Coverage.

SPH Digital Information / Copyright © 2020 Singapore Press Holdings Ltd. Co. Regn. No. 198402868E. All rights reserved

a:first-child { display: block !important; } } @media (max-width: 739px){ /*.smaller-headline:not(.main-featured-story) .views-row-first:not(.views-row-last) { margin-bottom: 8px; }*/ .small-headline:not(.main-featured-story) .media-body, .smaller-headline:not(.main-featured-story) .media-body { margin-bottom: -1px; } .small-headline:not(.main-featured-story) .views-row-last:not(.views-row-first) .media-body, .smaller-headline:not(.main-featured-story) .views-row-last:not(.views-row-first) .media-body { margin-bottom: -1px; } .small-headline:not(.main-featured-story) .views-row-first:not(.views-row-last) .media-body, .smaller-headline:not(.main-featured-story) .views-row-first:not(.views-row-last) .media-body { margin-bottom: 9px; } .classy-panel-styles-pane.exclude-no-border .pane-content { box-shadow: none; border-left-width: 0px; } } .field-name-body p > a > img, .cke_editable p > a > img { width: 108%; height: auto; margin-bottom: 20px; margin-left: -13px; margin-right: -10px; height: auto; } @media (min-width: 740px) { .field-name-body p > a > img, .cke_editable p > a > img { width: 739px; margin-left: -20px; } } @media (min-width: 1024px) { .field-name-body p > a > img, .cke_editable p > a > img { width: 860px; margin-left: -80px; } } @media (min-width: 500px) { .st_liveblog.fullv img { margin-left: 0; } } .st_liveblog .oembed-provider-youtube iframe { height: calc(0.75 * 349px); } ]]]]>]]> 0) { document.querySelector(‘#navbar .navbar-collapse .nav-singapore’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-asia’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-asia’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-world’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-world’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-opinion’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-opinion’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-life’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-life’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-business’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-business’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-tech’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-tech’).classList.add(‘active’); } else if (document.querySelector(‘body’).className.indexOf(‘context-sport’) > 0) { document.querySelector(‘#navbar .navbar-collapse .nav-sport’).classList.add(‘active’); } $subcatCopy = $(‘#navbar .navbar-collapse .active .subcat-menu’); //.once() $subcatCopy.clone().removeClass(‘subcat-menu’).addClass(‘mobile-subcat-menu’).appendTo($(‘.mobile-menu–section’)); } } //$ = jQuery; var clientplatform = (navigator.userAgent).toLowerCase(); var isIE = clientplatform.indexOf(“trident”) > -1? true: false; if (isIE) { if ($(‘body’).hasClass(‘page-taxonomy-term’) && $(‘.dynamic-section-menu .section-subcat-menu’).length == 0) { //$(‘]]]]>]]>’).insertAfter(“.top-leaderboard”); //$(‘.navbar-header .web-category-name’).clone().appendTo(“.dynamic-section-menu”); //for podcasts //var uri= window.location.pathname; //if(uri.contains(‘st-podcasts’)) { // $(”).appendTo(“.dynamic-section-menu”); //} $subcatSectionCopy = $(‘#navbar .navbar-collapse .lively .subcat-menu’); $subcatSectionCopy.clone().removeClass(‘subcat-menu’).addClass(‘section-subcat-menu’).appendTo($(‘.dynamic-section-menu’)); } } });

Source

Leave a Reply