Hi Wojciech Baryla,
You can style the images in the sj mage newsii module by editing somethings on your site.
Example: theme3 of sj mega newsii module
* opening the theme3.php file in "your_site/modules/mod_sj_meganewsii/tmpl", finding:
<?php if(0 != $options->item_image_disp ): ?>
<div class="yt_item_image yt_clearfix">
<?php if (0 != $options->item_image_link): ?>
<a class="yt_item_image_link" href="<?php echo $item0['url']; ?>" title="<?php echo $item0['title']; ?>" <?php echo YTools::parseTarget($options->item_image_link_target); ?>>
<?php endif; ?>
<img src="<?php echo YTools::resize($item0['image_urls'],$image_config);?>" title="<?php echo $item0['title'];?>" alt="<?php echo $item0['url'];?>" height="<?php echo $options->item_image_height; ?>px" width="<?php echo $options->item_image_width?>px"/>
<?php if (0 != $options->item_image_link): ?>
</a>
<?php endif; ?>
</div>
<?php endif; ?>
change to
<?php if(0 != $options->item_image_disp ): ?>
<div class="yt_item_image yt_clearfix">
<div class="yt-img-style-wrap yt-style3">
<?php if (0 != $options->item_image_link): ?>
<a class="yt_item_image_link" href="<?php echo $item0['url']; ?>" title="<?php echo $item0['title']; ?>" <?php echo YTools::parseTarget($options->item_image_link_target); ?>>
<?php endif; ?>
<img src="<?php echo YTools::resize($item0['image_urls'],$image_config);?>" title="<?php echo $item0['title'];?>" alt="<?php echo $item0['url'];?>" height="<?php echo $options->item_image_height; ?>px" width="<?php echo $options->item_image_width?>px"/>
<?php if (0 != $options->item_image_link): ?>
</a>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
* opening the style.css file in "your_site/modules/mod_sj_meganewsii/assets/css", finding:
.theme3 div.yt_first_item div.yt_item_image {
border: 2px solid #D3DFED;
float: left;
margin: 0 10px 0 0;
padding: 1px;
}
change to
.theme3 div.yt_first_item div.yt_item_image {
// border: 2px solid #D3DFED;
float: left;
margin: 0 10px 0 0;
padding: 1px;
}
* opening the template.css file in "your_site/templates/smart_news17(25)/css", finding:
#content_main .theme3 div.yt_first_item div.yt_item_image {
border: 1px solid #D7E2EF;
}
change to
#content_main .theme3 div.yt_first_item div.yt_item_image {
// border: 1px solid #D7E2EF;
}
* opening the typography.css file in "your_site/templates/smart_news17(25)/css", finding:
.yt-img-style-wrap.yt-style3 {
background: url("../images/typography/img-shadow-br3.png") no-repeat scroll center bottom transparent;
padding-bottom: 6px;
}
change to
.yt-img-style-wrap.yt-style3 {
background: url("../images/typography/img-shadow-br3.png") no-repeat scroll center bottom transparent;
padding-bottom: 6px;
overflow: hidden
}
The other style of image is similar to the style above.
Thanks