-
AuthorPosts
-
May 25, 2012 at 10:59 am #177532
Hi All,
Total newbie question here. I want to use mod_K2_content on the frontpage of my website. The module works fine except for the fact that it’s not styled like the K2 items on my site.
I have selected Ironis as subtemplate in the modules settings but that doesn’t work. Actually I only want the title to look the same as with k2 articles.
I’ve found that K2.css has a section for mod_k2_content but I have no idea what to do with it. My knowledge of css is zero.
Can anyone help me with this?
Cheers,
Robert
/*----------------------------------------------------------------------
Modules: mod_k2_content
----------------------------------------------------------------------*/div.k2ItemsBlock {}
div.k2ItemsBlock p.modulePretext {}
div.k2ItemsBlock ul {}
div.k2ItemsBlock ul li {}
div.k2ItemsBlock ul li a {}
div.k2ItemsBlock ul li a:hover {}
div.k2ItemsBlock ul li.lastItem {}div.k2ItemsBlock ul li a.moduleItemTitle {}
div.k2ItemsBlock ul li a.moduleItemTitle:hover {}div.k2ItemsBlock ul li div.moduleItemAuthor {}
div.k2ItemsBlock ul li div.moduleItemAuthor a {}
div.k2ItemsBlock ul li div.moduleItemAuthor a:hover {}div.k2ItemsBlock ul li a.moduleItemAuthorAvatar img {}
div.k2ItemsBlock ul li div.moduleItemIntrotext {display:block;padding:4px 0;line-height:120%;}
div.k2ItemsBlock ul li div.moduleItemIntrotext a.moduleItemImage img {float:right;margin:2px 0 4px 4px;padding:0;border:2px solid #ddd;}div.k2ItemsBlock ul li div.moduleItemExtraFields {}
div.moduleItemExtraFields ul {}
div.moduleItemExtraFields ul li {}
div.moduleItemExtraFields ul li span.moduleItemExtraFieldsLabel {display:block;float:left;font-weight:bold;margin:0 4px 0 0;width:30%;}
div.moduleItemExtraFields ul li span.moduleItemExtraFieldsValue {}div.k2ItemsBlock ul li div.moduleItemVideo {}
div.k2ItemsBlock ul li div.moduleItemVideo span.moduleItemVideoCaption {}
div.k2ItemsBlock ul li div.moduleItemVideo span.moduleItemVideoCredits {}div.k2ItemsBlock ul li span.moduleItemDateCreated {}
div.k2ItemsBlock ul li a.moduleItemCategory {}
div.k2ItemsBlock ul li div.moduleItemTags {}
div.k2ItemsBlock ul li div.moduleItemTags b {}
div.k2ItemsBlock ul li div.moduleItemTags a {padding:0 2px;}
div.k2ItemsBlock ul li div.moduleItemTags a:hover {}div.k2ItemsBlock ul li div.moduleAttachments {}
div.k2ItemsBlock ul li a.moduleItemComments {border-right:1px solid #ccc;padding:0 4px 0 0;margin:0 8px 0 0;}
div.k2ItemsBlock ul li a.moduleItemComments:hover {}
div.k2ItemsBlock ul li span.moduleItemHits {border-right:1px solid #ccc;padding:0 4px 0 0;margin:0 8px 0 0;}
div.k2ItemsBlock ul li a.moduleItemReadMore {}
div.k2ItemsBlock ul li a.moduleItemReadMore:hover {}div.k2ItemsBlock a.moduleCustomLink {}
div.k2ItemsBlock a.moduleCustomLink:hover {}Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 26, 2012 at 7:43 am #454981Hi Robert,
Can you let me know exactly what style you want to apply for this module ?
if it is going to require lot of changes to the files then i am sorry i wont be able to help you out. As customization support is beyond our support scope.
1 user says Thank You to Sherlock for this useful post
May 28, 2012 at 9:51 am #455202Hi Sherlock,
Thank you for your reaction. Actually I only want the title of the article displayed in the module to look the same as all other article titles on the site. The black and heavy typeface that is. That’s it really. It shouldn’t be to hard but I know zero to nothing about CSS and have no idea how to alter the K2.css file so it displays the article title the same way all other article titles are displayed.
Sorry, for my late reaction but the weather has been exceptionally nice the last 2 days. Had to spend some time in the park with my girl;)
Cheers
Robert
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 28, 2012 at 10:37 am #455208Hi robert,
if that just give me your url I will take a look and let you know how to change to get the article titles display as you wished.
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Sherlock 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum