need CSS Help (customizing Serach Bar)

WordPress Business Themes Forums Responsive Themes Directory Theme need CSS Help (customizing Serach Bar) Reply To: need CSS Help (customizing Serach Bar)

Discontinued - The forum content is out of date. For theme support please use our support desk here.

WordPress Business Themes Forums Responsive Themes Directory Theme need CSS Help (customizing Serach Bar) Reply To: need CSS Help (customizing Serach Bar)

  • JamesD
    JamesD
    Super Guru 1,345 points

    @Ole

    The div blocks are styled with those elements considered, so re-arranging/editing/removing/adding something can alter the layout.

    Note: This solution refers to editing the default theme file /DT9/_direcotry/elementor/elementor-hero.php.

    Remove these lines (around #143-163):
    <div class="col-md-12 col-lg-6">
    <div class="row gap-1">
    <div class="col-md-12 col-lg-6">
    <div class="form-group bg-change-focus-addclass mb-1-xs">
    <label class="text-primary text-uppercase"><?php echo __("In","premiumpress") ?></label>
    <select class="form-control selectpicker" multiple
    data-none-selected-text="<?php echo __("Any Category","premiumpress") ?>" data-selected-text-format="count > 2" data-done-button="true" data-done-button-text="OK" name="catid" id="basic_catid">
    <?php if(!isset($_GET['cat1'])){ $selcat = ""; }else{ $selcat = $_GET['cat1']; } echo $CORE->CategoryList(array($selcat,false,0,THEME_TAXONOMY)); ?>
    </select>
    </div>
    </div>
    <div class="col-md-12 col-lg-6">
    <div class="form-group bg-change-focus-addclass">
    <label class="text-primary text-uppercase"><?php echo __("At","premiumpress") ?></label>
    <select class="form-control selectpicker" multiple data-live-search-placeholder="Search"
    data-none-selected-text="<?php echo __("Any Location","premiumpress") ?>" data-selected-text-format="count > 3" data-done-button="true" data-done-button-text="OK" name="country" id="basic_country">
    <?php if(!isset($_GET['country'])){ $selcat = ""; }else{ $selcat = $_GET['country']; } echo $CORE->CUSTOMFIELD_LIST('map-country', $selcat); ?>
    </select>
    </div>
    </div>
    </div>
    </div>

    This is the portion you keep (and replace the above with):
    <div class=”col-md-12 col-lg-6″>
    <div class=”form-group bg-change-focus-addclass mb-1-xs”>
    <label class=”text-primary text-uppercase”><?php echo __(“In”,”premiumpress”) ?></label>
    <select class=”form-control selectpicker” multiple
    data-none-selected-text=”<?php echo __(“Any Category”,”premiumpress”) ?>” data-selected-text-format=”count > 2″ data-done-button=”true” data-done-button-text=”OK” name=”catid” id=”basic_catid”>
    <?php if(!isset($_GET[‘cat1’])){ $selcat = “”; }else{ $selcat = $_GET[‘cat1’]; } echo $CORE->CategoryList(array($selcat,false,0,THEME_TAXONOMY)); ?>
    </select>
    </div>
    </div>

    Now, check the various browser views to make sure all is well.
    I’ll post a file if this post becomes corrupt.
    Let me know the child theme name if this file isn’t the same as you use.

    December 16, 2018 at 7:21 pm
  • Didn't find what you were after?

    Chat with us now

    or contact our support team