Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Large letters for store name in header


Gap30

Recommended Posts

Posted

I need some help getting parse error in header.php. Want to increase size of my store name where do I put<h1>My Store Name</h1>??

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif',<h1> 'Keepsake Caboose'),</h1>  '</a>'; ?></td>

 

Presently the,,<h1> shows up as text need idea of where specically to locate.

 

Thanks

Greg

Posted
I need some help getting parse error in header.php. Want to increase size of my store name where do I put<h1>My Store Name</h1>??

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif',<h1> 'Keepsake Caboose'),</h1>  '</a>'; ?></td>

 

Presently the,,<h1> shows up as text need idea of where specically to locate.

 

Thanks

Greg

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif', 'Keepsake Caboose') . '<h1>Keepsake Caboose</h1> </a>'; ?></td>

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Posted
I need some help getting parse error in header.php. Want to increase size of my store name where do I put<h1>My Store Name</h1>??

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif',<h1> 'Keepsake Caboose'),</h1>  '</a>'; ?></td>

 

Presently the,,<h1> shows up as text need idea of where specically to locate.

 

Thanks

Greg

 

The code was wrong .. if you just want a link with h1 text it's ..

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '"><h1>Keepsake Caboose</h1></a>'; ?></td>

 

If you want an image link it's

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '"><img src="' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif') . '"></a>'; ?></td>

 

I've left out anchors.

Posted

The text size you're attempting to change is ALT text. There is no need to do this. The text only shows when mousing over your logo image or if your logo image were unavailable, the text would show in its place.

 

Was:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif',<h1> 'Keepsake Caboose'),</h1> '</a>'; ?></td>

Should be:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif', 'Keepsake Caboose') . '</a>'; ?></td>

jon

It's all just ones and zeros....

Posted
The text size you're attempting to change is ALT text. There is no need to do this. The text only shows when mousing over your logo image or if your logo image were unavailable, the text would show in its place.

 

Was:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif',<h1> 'Keepsake Caboose'),</h1> '</a>'; ?></td>

Should be:

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif', 'Keepsake Caboose') . '</a>'; ?></td>

jon

 

 

Ignore mine I forgot that tep_image() includes the <img src=""> :-"

Posted
<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif', 'Keepsake Caboose') . '<h1>Keepsake Caboose</h1> </a>'; ?></td>

 

Thankyou, thankyou!!! This did the trick got my photo plus store name next to it. Been working on this issue a week.

 

Know just need to get rid ('; ?>) showing up above logo.

 

:blush: How do i get the code boxs small ?

Posted

I answered according to your post. Now I see what you want to do.

 

Was:

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif',<h1> 'Keepsake Caboose'),</h1> '</a>'; ?></td>

 

Should be (loaded and tested):

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce10.gif', 'Keepsake Caboose') . '<h1>Keepsake Caboose</h1>' . '</a>'; ?></td>

 

This text is inside CODEBOX tags.

jon

It's all just ones and zeros....

Archived

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

×
×
  • Create New...