Gordonz Posted February 10, 2003 Share Posted February 10, 2003 How do I get a different font for the heading in main page default.php than the rest. I tried adding TD.firstHeading TD.pageHeading, DIV.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 14px; font-weight: bold; color: #ffcc99; } TD.firstHeading, DIV.firstHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #ffcc99; then in default.php this <tr> <td class="firstHeading" align="right"><?php echo HEADING_TITLE; ?></td></font> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> I am just learing so I am probably doing somthing really stupid. Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 Don't forget to clear your cache or do a Shift Refresh to see the changes. And make sure there is a } at the end of: TD.firstHeading, DIV.firstHeading { font-family: Verdana, Arial, sans-serif; font-size: 20px; font-weight: bold; color: #ffcc99; Link to comment Share on other sites More sharing options...
Gordonz Posted February 10, 2003 Author Share Posted February 10, 2003 Thanks Linda, I checked for the bracket emptied the temp internet files and did a cntl refresh, still the same size as the rest of the page headings :( Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 Do a View Source and make sure the TD contains your class setting. Link to comment Share on other sites More sharing options...
Gordonz Posted February 10, 2003 Author Share Posted February 10, 2003 It has not picked up on the class="firstHeading" tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading">Beachfront Bed and Breakfast<br>A Luxury Golden Bay Accommodation Nelson New Zealand</td> <td class="pageHeading" align="right"><img src="images/view_of_golden_bay_t.jpg" border="0" alt="We love to sit in bed and look out over Golden Bay, so we designed the accomodation with the same 'in bed' view." title=" We love to sit in bed and look out over Golden Bay, so we designed the accomodation with the same 'in bed' view. " width="200" height="134"></td> Do I have to do something else to introduce the class="firstHeading"? Link to comment Share on other sites More sharing options...
CC Posted February 10, 2003 Share Posted February 10, 2003 It cant decide not to show code you have updated, you have missed something. Go back and check the file, make sure you have done the change, then save and reupload. To clear cache it is cntrl & F5, not shift. :wink: Make sure cache is cleared properly! CC. Link to comment Share on other sites More sharing options...
Ajeh Posted February 10, 2003 Share Posted February 10, 2003 I will have to try Ctrl F5 next time, Shift Refresh works for me ... thanks for the tip to an alternative method ... :D Link to comment Share on other sites More sharing options...
CC Posted February 10, 2003 Share Posted February 10, 2003 :wink: Would love to say shift refresh works for me, but it dont. :? Wonder why that is? I will need to investigate. Shift refresh does nothing for me... :( CC. Link to comment Share on other sites More sharing options...
Gordonz Posted February 10, 2003 Author Share Posted February 10, 2003 Sorted :D There are 3 occurences of HEADING_TITLE in default.php, presumably logged in, not logged in and other pages. I was only changing the class of one. Thanks for your help fellas :D :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.