Osclass Support Forums

Osclass theme support => Gamma Osclass Theme => Topic started by: Rick on March 08, 2023, 05:15:25 PM

Title: just region
Post by: Rick on March 08, 2023, 05:15:25 PM
Region city in a box right now..but only want region in a simple drop  down menu.

Quote
<fieldset class="s2">
        <h2><?php _e('Location', 'gamma'); ?></h2>

        <div class="in">
          <div id="location-picker" class="loc-picker picker-v2 ctr-<?php echo (gam_count_countries() == 1 ? 'one' : 'more'); ?>">
            <label for="term2"><span><?php _e('Where is your item located?', 'gamma'); ?></span><span class="req">*</span></label>

            <div class="mini-box">
              <input type="text" id="term2" class="term2" placeholder="<?php _e('City/Region', 'gamma'); ?>" value="<?php echo gam_get_term('', $prepare['i_country'], $prepare['i_region'], $prepare['i_city']); ?>" autocomplete="on" readonly/>
              <i class="fa fa-angle-down"></i>
            </div>
           
            <?php $countries = Country::newInstance()->listAll(); ?>

            <div class="shower-wrap">
              <div id="shower" class="shower <?php if(is_array($countries) && count($countries) > 1) { ?>multi-country<?php } ?>">
                <?php echo gam_locbox_short($prepare['i_country'], $prepare['i_region'], $prepare['i_city']); ?>
                <a href="#" class="btn btn-primary mbBg loc-confirm isMobile"><i class="fa fa-check"></i></a>

                <div class="button-wrap isTablet isDesktop">
                  <a href="#" class="btn btn-primary mbBg loc-confirm"><?php _e('Continue', 'gamma'); ?></a>
                </div>
              </div>
            </div>
Title: Re: just region
Post by: MB Themes on March 09, 2023, 03:59:15 PM
@Rick
Hide it with CSS:
Code: [Select]
#location-picker .shower .option.city { display: none; }
Title: Re: just region
Post by: Rick on March 09, 2023, 09:08:11 PM
@Rick
Hide it with CSS:
Code: [Select]
#location-picker .shower .option.city { display: none; }

Just did drop menu smaller, but didnt take away anything.