 |

trandel
User
Jul 31, 2006, 1:53 AM
Post #1 of 3
(565 views)
Shortcut
|
|
Editing a place holder format
|
Can't Post
|
|
Hi, I am updating the categories from the supplied defaults and have found that the left hand column containing the index and the search index category selection in the default article template has become wider and is now distorting the layout that I want. I can see how to edit the template layout and font sizes of the category indexes on the default page but I don't know how to edit same for a placeholder like the category selection box ($category_pulldown$) under search? The problem is the amount of space indented at each level is too much to cater for the length of my cat names ? Regards Tony Randell
|
|
|  |
 |

Donna
Staff
/ Moderator

Jul 31, 2006, 4:26 PM
Post #2 of 3
(554 views)
Shortcut
|
|
Re: [trandel] Editing a place holder format
[In reply to]
|
Can't Post
|
|
Hi Tony, Thanks for your post. :) That particular placeholder is set, but the easiest thing to do would be to simply copy & paste the original output code and hardcode it into the template. So, you'd have something like this: <option value="1">News</option> <option value="2">Local</option> <option value="3">National</option> <option value="4">World</option> ...instead of the placeholder. Alternately, you can use CSS to decrease the size of the font. Try changing the <select> tag to this: <select name="cat" style="font-size: 9px; font-family: Arial Narrow;"> (You can lower the size further, or change the font more as well.) I hope this helps! Let me know if you have any other questions. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
(This post was edited by Donna on Jul 31, 2006, 4:47 PM)
|
|
|  |
 |

trandel
User
Aug 1, 2006, 1:13 AM
Post #3 of 3
(542 views)
Shortcut
|
|
Re: [Donna] Editing a place holder format
[In reply to]
|
Can't Post
|
|
Hi Donna, Thanks for your suggestions re the search form. o I think that hard wiring the category options is fine but future ease of maintenance is compromised. o Changing the font size worked fine but in my view the output is too small and out of context with the overall page design. So, I am now thinking of moving the search function include to another part of the page - e.g. above the article headers - then there will be adequate space for the length of my category descriptions. Regards Tony Randell
|
|
|  |
|