× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

how to make wider the GROUPSELECT display box

  • rolando.aibar.e.gmail
  • Offline
More
8 years 6 months ago #3583 by rolando.aibar.e.gmail
how to make wider the GROUPSELECT display box was created by rolando.aibar.e.gmail
Hi All:

I need to make wider the GROUPSELECT display box. The one I'm getting is too small.

Where can I find the code to do this?


Attachment hd2bea8e.JPG not found

This message has an attachment image.
Please log in or register to see it.

Please Log in to join the conversation.

  • rolando.aibar.e.gmail
  • Offline
More
8 years 5 months ago #3625 by rolando.aibar.e.gmail
Replied by rolando.aibar.e.gmail on topic how to make wider the GROUPSELECT display box
I found how to do make wider the GROUPSELECT box:

In:

public_html/components/com_joodb/assets/

Open the file: joodb.css

and edit: #searchForm select.inputbox { width: 150px; }

to whatever value in pixel or pecentage you may need.

Hope this helps.

regards
The following user(s) said Thank You: rozendale

Please Log in to join the conversation.

More
7 years 7 months ago #4001 by rozendale
Replied by rozendale on topic how to make wider the GROUPSELECT display box
Hi,

For me the same problem and I already found the css file and I changed the width with notepad++ but nothing happens.

Please Log in to join the conversation.

More
7 years 2 months ago #4304 by informatique.meuseaval
Replied by informatique.meuseaval on topic how to make wider the GROUPSELECT display box
A solution is to modify
components\com_joodb\helpers\joodb.php

at line 504 :
$searchform = '<select class="inputbox groupselect" id="gs_'.$parameter[0].'" name="gs.'][]" '.$size.' >' ;

$searchform = '<select class="inputbox groupselect" id="gs_'.$parameter[0].'" name="gs.'][]" '.$size.' style="width: 200px;" >'

Please Log in to join the conversation.

More
7 years 2 months ago #4305 by Dirk

informatique.meuseaval wrote: A solution is to modify
components\com_joodb\helpers\joodb.php


No....please don't do this!
You would not be able to update.

The central joodb style sheet joodb.css can be found in /components/com_joodb/assets
Look for
#searchForm select.inputbox { width: 150px; }

And change the value for width!

Please Log in to join the conversation.

More
7 years 2 months ago #4307 by informatique.meuseaval
Replied by informatique.meuseaval on topic how to make wider the GROUPSELECT display box
Yes, you're right ...

but as said Rozendale before, changing #searchForm select.inputbox { width: 150px; } is not working. After investigation; it's not #searchForm but #joodbForm

and now it works !

#joodbForm select.inputbox { width: auto; }

Thanks !

Please Log in to join the conversation.

Moderators: Dirkjoest