cd100 Posted October 18, 2005 Share Posted October 18, 2005 Hi, Can anyone tell me how to add <H1> Heading tags to my page? Have managed to do it manually to the index page, but can't suss out what to do elsewhere. Found this earlier, but it didn't seem to work. product_info.php, line 93: Change this: CODE <td class="pageHeading" valign="top"><?php echo $products_name; ?></td> To this: CODE <td valign="top"><h1><?php echo $products_name; ?></h1></td> Any help appreciated, Claire Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 18, 2005 Share Posted October 18, 2005 The above code is correct but you need to add the h1 class to control it. If you install the Header Tags contribution, it will do all of this for you. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
cd100 Posted October 18, 2005 Author Share Posted October 18, 2005 Hi, Thanks for the reply. Is there another way to add this without using the Header Tags contribution? Already have some modifications, and could not get header tags to work properly, so uninstalled it. Does the fact that my index page is working correctly (even though I manually edited the file, and added the <H1> tag) not show that the class is already there? Should it be in my stylesheet? Regards, Claire This is from the bottom of my stylesheet. Does it have anything whatsoever to do with it, or am I clutching at straws? Ta, Claire /* input requirement */ .inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; } h1 { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; } h2 { font-family: Verdana, Arial, sans-serif; font-size: 14px; } Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 19, 2005 Share Posted October 19, 2005 You don't have to install Header Tags and you don't have to add an H1 class (it just gives you control of the look). The code you have should work. View your source from the browser and make sure the h1 code is being applied correctly. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.