css .block region third - collection
This commit is contained in:
@@ -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');
|
||||
})
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user