Search bar and near me button on same line.

This topic contains 2 replies, has 2 voices, and was last updated by  Kor 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #369984

    Cappy Odinsen
    Buyer
    Post count: 33

    Is there anyway to have the near me button appear next to the search bar instead above or below it? I tried CSS, but can’t figure out a good way to do it.

    Thanks!

    #369988

    Cappy Odinsen
    Buyer
    Post count: 33

    Never mind. I figured it out.

    If anyone else wants to know, you need to add this to style.css

    #geodir_near_me_button-2 {
    float: right;
    width: 20%;
    height: 60px;
    }

    #geodir_advance_search-4 {
    display: inline-block;
    Width: 80%;
    }

    button, input[type=”button”], input[type=”reset”], input[type=”submit”], .button {
    background-color: #000;
    border: none;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-family: ‘Oswald’, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 13px 0px;
    text-transform: uppercase;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    }

    You will have to play around with it for mobile devices. I haven’t got that 100% figured out yet, but if I do, I will post it.

    #369991

    Kor
    Moderator
    Post count: 16516

    Hi Cappy,

    Thanks for sharing and I’m glad that you sorted it out yourself.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket