Overlay on not fixed position

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Overlay on not fixed position

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40369
    Heizpad
    Heizpad
    Participant

    Hi there!

    I saw you can have an overlay when the search is set to fixed position. Is it possible to have an overlay also when the search is in default position?

    Thank you

    #40386
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Unfortunately that is not possible. The overlay and the search has to be fixed, otherwise if there is a relative parent element then it would not overlap the whole document, but only that element relatively – it is a CSS language limitation. Fixed CSS potisitioning removes the search elements from the document styling flow and allows this overlaying layout.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.