Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Inserting Search box into header image

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #43870
    goalieman34
    Member

    I am looking to insert/move my search bar into my header image. (kinda similar to what http://www.bing.com/ does) I am looking to do this purely with CSS. It is a Squarespace 6 template and I have limited access to the sites Html.

    Thanks for your time. Here is the link to my website http://www.jobspark.ca/

    #130566
    mattrossi
    Member

    if you don’t have access to the html, you can absolutely position that search box up the page a bit with a negative value, but do this with caution.

    #130572
    jmacaluso
    Member

    i think some jQuery could work. http://codepen.io/jmacaluso711/pen/EleJu

    $(document).ready(function(){
    $('#header').append($('.search'));
    });
    #130575
    jmacaluso
    Member

    and i just noticed you said you wanted to do it purely with css… my bad

    #130576
    CrocoDillon
    Participant

    If you can’t change the html you can do some ugly absolute positioning with some negative top.

    #130688
    goalieman34
    Member

    @mattrossi @CrocoDillon @jmacaluso I found a spot that I can insert some html into my header. Does this help things ?

    #133302
    mattrossi
    Member

    Um, it may or may not. You need to move that form, so if you have access to the markup / code for the form, you can maybe move it up into the header?

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.