Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    hmm, am I correct that what is happening is that when you disable the search form css styling then the main container is moves to the advance area? If yes, I think it’s because of the disabled css and not the code itself.

    Thread Starter triggame

    (@triggame)

    Hi, thanks for responding.
    No, the main container does not move. The submit button element moves and becomes an input submit element. It moves into the hidden advanced container which does not make logical sense why you would want to do something like that. Look at the code below:

    Styles enabled:

    <div class="em-search-main">
       <button class="em-search-submit loading" type="submit">
    <div>
    <div class="em-search-advanced" style="display:none">
    </div>

    Styles disabled:

    <div class="em-search-main">
    <div>
    <div class="em-search-advanced" style="display:none">
       <input class="em-search-submit" type="submit" value="Search">
    </div>

    Sorry, I don’t understand. I’ve figured out a hack by using my own jquery toggle function and css visibility, but it just all seems a little crazy to have to do that.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Disabling Search forms styles changes the html code’ is closed to new replies.