Keyword

Modifying the k2.css with a mod class suffix - Odd not cascading... help.

More
14 years 10 months ago #77812 by ckka
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?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum