Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Define font size


belilan

Recommended Posts

This has nothing to do with the language desine you found in includes/languages/english/product_info.php

 

You need to go to catalog/product_info.php, wrap the text into something (eg a div or span), and/or give a class to the element it is wrapped into, or check if there is already a class and then use this in your css file to style as you like

Link to comment
Share on other sites

here it is.

 

		   <div class="buttonSet">
			  <span class="buttonAction">
				<div class="bg_button2" onMouseOut="this.className='bg_button2';" onMouseOver="this.className='bg_button2-act';">
				  <a class="show_popup"><?php echo POPUP_SHOW; ?></a>
				</div>
			  </span>
			<?php
			if (SHOW_BUTTON == 'True') {
			  ?>
			  <div class="fl_right" align="right"><div class="bg_button22" onMouseOut="this.className='bg_button22';" onMouseOver="this.className='bg_button22-act';"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></div></div>
			  <?php
			}
			?>

Link to comment
Share on other sites

Yes you're right.

I found this in the same css file.

 

body {
 background:url('../images/tail-top.jpg') 50% 0px repeat-x #ffffff;
 color: #4c4c4c; font-size: 62.5%; line-height:1.5em;font-family:Arial, Helvetica, sans-serif;
 margin: 0px;
}

 

The problem is, when I increase the "line-height", everythingthing gets higher.

Isn't it possible to increase the height only for show_popup?

Link to comment
Share on other sites

exactly.

I found the way.

I put this and it works fine

.show_popup{font-size:20px; margin:110px; line-height:20px}

 

I also wanted to change the font color of this show_popup, and maybe to frame it but apparently it's not working.

I put this

.show_popup{font-size:20px; margin:110px; line-height:20px; color:black}

and it had no effect

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...