Move category link outwards

Example of how to move a category link location example is on a stacked page where you want a hover effect so the link needs to cover the whole area not just the text.

$(".cmsSubPageEmbedded .CategoryList li .cmsTitle").each(function(){
link = $(this).find("a").attr("href");
$(this).find("a").contents().unwrap();
$(this).wrap( "<a href='"+link+"'></a>" );
});

Index Previous Next