Gap30 Posted March 13, 2007 Posted March 13, 2007 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
bill110 Posted March 13, 2007 Posted March 13, 2007 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
♥FWR Media Posted March 13, 2007 Posted March 13, 2007 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. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
jonquil Posted March 13, 2007 Posted March 13, 2007 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....
♥FWR Media Posted March 13, 2007 Posted March 13, 2007 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=""> :-" Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Gap30 Posted March 13, 2007 Author Posted March 13, 2007 <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 ?
jonquil Posted March 13, 2007 Posted March 13, 2007 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....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.