Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Remove either nowrap or nbsp; in subcat display (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Remove either nowrap or nbsp; in subcat display
#147
jnasta (User)
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male John Nasta Photography Location: Brooklyn, NY
Remove either nowrap or nbsp; in subcat display 8 Months ago Karma: 1  
I see that Fatty Matty tackled this issue by replacing the &nbsp; with <br> so that on the main page the subcats won't just keep making the page wider.

I tried to remove the second nowrap tag in functions.php but because of the &nbsp; tags immediately between the links, they still don't wrap.

Where did you find that &nbsp; tag Matty?

I thought it was this line in functions.php, but it didn't seem to do it:

$cat_html .= "&nbsp;<a class=\"subCategory\" href=\"./directory/" . $gtc_array[cat_id] . ".html";

Thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#151
jnasta (User)
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male John Nasta Photography Location: Brooklyn, NY
Re:Remove either nowrap or nbsp; in subcat display 8 Months ago Karma: 1  
I figured this out. I had to go into Edit Categories and set the Children Categories Options to Vertical.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008