*

san37

  • ***
  • 89 posts
city in item post
« on: January 07, 2016, 08:58:12 PM »
How to set different class for each city in a list of cities
If the code is like this в itempost.php
 
Code: [Select]
<div class="row">
<label for="city"><span><?php _e('City''zara'); ?></span><span class="req">*</span></label>
<?php ItemForm::city_select($city_list$cookie_loc); ?>
</div>

This code appears in the end
Code: [Select]
<div class="selector" id="uniform-cityId">


<span>Select city</span>
<select name="cityId" id="cityId">
<option selected="" value="">Select city</option>
<option value="408530">London</option></div>

I need it so
Code: [Select]
<div class="selector" id="uniform-cityId">
<span>Select city</span>
<select name="cityId" id="cityId">
<option selected="" value="">Select city</option>
<option value="408530" class="408530">London</option></div>
« Last Edit: January 07, 2016, 09:00:48 PM by san37 »

*

MB Themes

Re: city in item post
« Reply #1 on: January 07, 2016, 09:41:58 PM »
@san37
Class attribute and any other styling of select statement is not supported.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: city in item post
« Reply #2 on: January 08, 2016, 07:37:08 PM »
Okey