I am trying to modify a modules css. There is too much white space when I choose to show only the title and image in the
mod_k2_content. By default, it is adding the empty block for the intro text.I have added a module class suffix _nointro in the admin.The css looks like div.k2ItemsBlock ul li p.moduleItemIntrotext {display:block;padding:4px 0;line-height:120%;}.m_nointro ul li p.moduleItemIntrotext {display:none;padding:0;line-height:0;}
I even tried adding the div.k2itemblock but not luck. The css is not cascading. it is reading the m_nointro first.If i change the original div.k2ItemsBlock {display:none;} it works... but I don't want this everywhere?
mod_k2_content. By default, it is adding the empty block for the intro text.I have added a module class suffix _nointro in the admin.The css looks like div.k2ItemsBlock ul li p.moduleItemIntrotext {display:block;padding:4px 0;line-height:120%;}.m_nointro ul li p.moduleItemIntrotext {display:none;padding:0;line-height:0;}
I even tried adding the div.k2itemblock but not luck. The css is not cascading. it is reading the m_nointro first.If i change the original div.k2ItemsBlock {display:none;} it works... but I don't want this everywhere?