Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: Typography

Re: Typography 12 years, 5 months ago #3514

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Wojciech Baryla,

could you tell us about the position of images on your site which you want to ask here?

Please send your site url to us if possible.

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Typography 12 years, 5 months ago #3520

Images in mega-news position (Sj mega news II module).
I did find description of css class for images in typography.css file, but I don`t know how to use it (for example this class: .yt-img-style-wrap.yt-style2).

Re: Typography 12 years, 5 months ago #3521

I did try to add classes in html editor.

<span class="yt-img-style-wrap"><img class="yt-style2" src="..."></span>

It does,nt work.

Re: Typography 12 years, 5 months ago #3603

Could you answer a little bit faster? I have only 3 months membership :/
I mean I don`t expect that you answer my questions the same day I ask, but I cannot get answer on simple question over 3 weeks.

Re: Typography 12 years, 5 months ago #3608

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
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
Ticket System | Join our Clubs to download our extensions and templates
The following user(s) said Thank You: wojciechb

Re: Typography 12 years, 5 months ago #3615

Thank you very much. That is what I asked for.
  • Page:
  • 1
  • 2
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes