Jump to content

zdarkmind94

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by zdarkmind94

  1. <div class="row search">          <div class="small-12 columns">            <div class="row collapse">                <form action="<?php echo home_url( '/' ); ?>" method="get">                    <div class="small-8 columns field">                        <input type="text" id="search" placeholder="Cauta" name="s" value="<?php the_search_query(); ?>" />                     </div>                     <div class="small-2 end columns ">                         <button type="submit" id="search-button" class="postfix button"><i class="fa fa-search fa-lg"></i>                         </button>                     </div>                </form>            </div>          </div>    </div>
  2. Hello ,how can I include functionality for wordpress search on this static Markup:

      <div class="medium-4 columns sidebar">        <div class="row search">          <div class="small-12 columns">            <div class="row collapse">              <div class="small-8 columns">                <input type="text" placeholder="Cauta">              </div>              <div class="small-2 columns end">                <a href="#" class="button postfix search_button"><i class="fa fa-search fa-lg"></i></a>              </div>            </div>          </div>        </div>
  3. <div class="content row">
    <div class="large-8 large-centered columns">
    <h2>Lorem ipsum</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis, deserunt, ipsam, magni ex architecto id harum repudiandae cumque modi dolorum obcaecati tempora eius ad et perferendis ratione eum mollitia adipisci.</p>
    <a href ="#0" class="button readmore">Citeste tot</a>
    </div>
    </div>
    and i put the next css
    .content {
    position: relative;
    z-index: 4;
    color: #fff;
    text-align: center;
    padding-top: 5%;
    }
    why i need to put ( .content h2 {color:#fff;} ) to transform my h2 white?
×
×
  • Create New...