OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
SEF Translate module support
Go to bottom Favoured: 0
TOPIC: Add flags to dropdown
#42917
MARC2019 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Add flags to dropdown 2 Weeks, 2 Days ago Karma: 0  
Hi,

Thank you for releasing this plugin for free!

I was wondering if it would be possible to add a class to each select option or to wrap each one so that I may add a flag to the drop down menu. I've tried to target the option but from what I understand it's not possible to alter a system generated drop down.

Many thanks
 
Logged Logged  
  The administrator has disabled public write access.
#42920
admin (Admin)
Admin
Posts: 6682
graph
User Offline Click here to see the profile of this user
Re:Add flags to dropdown 2 Weeks, 1 Day ago Karma: 78  
Hello

I not see your site.

But if we will check our SefTranslate demo ordasvit.com/joomla-sef-translate/

There for connect to "English" option to select

You may use next selector

Code:

form[name="translateForm"] select option[value="en"] 


as example for set color to red and change font site please add below code to your template CSS sile:

Code:

form[name="translateForm"] select option[value="en"] {
  color: #c00;
  font-size: 18px;
}



Regards
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#42950
joomleb (User)
Expert Boarder
Posts: 101
graphgraph
User Offline Click here to see the profile of this user
Re:Add flags to dropdown 1 Week, 3 Days ago Karma: 0  
MARC2019 wrote:
I was wondering if it would be possible to add a class to each select option or to wrap each one so that I may add a flag to the drop down menu. I've tried to target the option but from what I understand it's not possible to alter a system generated drop down.

Good idea to give us a way to build our own Module Layouts...
 
Logged Logged  
  The administrator has disabled public write access.
#42952
admin (Admin)
Admin
Posts: 6682
graph
User Offline Click here to see the profile of this user
Re:Add flags to dropdown 1 Week, 2 Days ago Karma: 78  
Hello

SefTranslate Module layout located at
{your site}/modules/mod_seftranslate/tmpl/default.php

But it not very simply

Any way before edit it, Please backup this file

Regards
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#42953
MARC2019 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Add flags to dropdown 1 Week, 2 Days ago Karma: 0  
Hi Admin,

Thank you very much for getting back to me. I will have a look and get back to you if I have any questions.

Many thanks!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many head has a typical person?