css .block region third - collection

This commit is contained in:
armansansd
2022-08-18 10:45:25 +02:00
parent fdea36a88f
commit b0656ac795
5 changed files with 44 additions and 7 deletions

View File

@@ -443,8 +443,15 @@ if($(".page-node-type-static").length > 0){
//hide empty or unclickable sidebar
if($(".block-region-first").find("a").length == 0 ){
$(".block-region-first").hide();
if($(".page-node-type-static").length == 0 ){
$(".block-region-first").hide();
}
};
//crop text for collection
$(".block-region-third .views-field-description__value").addClass("hidden_text");
$(".block-region-third .views-field-description__value").on("click", function(){
$(this).removeClass('hidden_text');
})
});