ashras99 Posted August 25, 2008 Share Posted August 25, 2008 (edited) I added the following code in the includes > modules > product_listing.php if ($listing_split->number_of_rows > 0) { $rows = 0; $column = 0; echo ' <table cellspacing=0 cellpadding=0> <tr><td><img src=images/m29.gif width=490 height=43></td></tr> <tr><td height=10></td></tr> <tr><td height=10 class=sc1><img src=images/m27.gif width=4 height=7> '.$breadcrumb->trail(' » ').'</td></tr> <tr><td height=10></td></tr> <tr><td class=bg1> <table cellspacing=0 cellpadding=0> <tr> '; This is working absolutely fine but the problem is style class is not able to apply on the '.$breadcrumb->trail(' » ').' , so on white background, text is also coming white. I tried just giving text color to this table row. But that also not works. Please suggest, how can i fix this within this file. Edited August 25, 2008 by ashras99 Quote Link to comment Share on other sites More sharing options...
ashras99 Posted August 26, 2008 Author Share Posted August 26, 2008 any suggestion from the experts? Quote Link to comment Share on other sites More sharing options...
germ Posted August 27, 2008 Share Posted August 27, 2008 I wouldn't consider myself an expert on HTML styles, but you already have a class applied to the text: <td height=10 class=sc1> Are you certain the problem doesn't lie with that class definition? :unsure: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
ashras99 Posted August 27, 2008 Author Share Posted August 27, 2008 There is no problem with the class because using this class at other places without any problem and when i removed the '.$breadcrumb->trail(' » ').' from the below line and add a simple text then that is working. <tr><td height=10 class=sc1><img src=images/m27.gif width=4 height=7> '.$breadcrumb->trail(' » ').'</td></tr> Quote Link to comment Share on other sites More sharing options...
germ Posted August 27, 2008 Share Posted August 27, 2008 You've got other problems. I put that exact code on my osC site (in a test area) and it applies whatever style I choose to put in there. And I tried several different styles just to be sure it was no accident... :huh: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
ashras99 Posted August 28, 2008 Author Share Posted August 28, 2008 can you show the page code, that you have used like define of class and all.. like to see what can be the problem? Quote Link to comment Share on other sites More sharing options...
germ Posted August 28, 2008 Share Posted August 28, 2008 I used several classes, all of them from the "standard" osC stylesheet, like class="pageHeading" If you put your PHP code back in there, and PM me the link to the page it's used on I can probably tell you what the major malfunction is. Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
ashras99 Posted August 28, 2008 Author Share Posted August 28, 2008 (edited) I am PM you full page code for you to check, because page is not online yet.. this is customized template in which only this thing is not working Edited August 28, 2008 by ashras99 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.