Need a transparent background behind magnifier…

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Need a transparent background behind magnifier…

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29075
    mtmadmin35
    mtmadmin35
    Participant

    Hi guys. LOVE you plugin.

    But I cannot seem to style it the way I want to. Using the compact search… I want the magnifier to have a completely transparent background… THEN when it expands on click, the full area will have the white background.

    Can you help with some code? Thank you!

    Brian

    [email protected]

    #29085
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Brian,

    Thank you for your kind words!

    Well, your best bet is probably using some custom CSS, like so:

    
    .asp_m.asp_compact,
    .asp_m.asp_compact * {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    div.asp_m.asp_compact[asp-compact=open] {
        background: white !important;
    }

    This forces a transparent backgroun on every element on the box when closed, and then a white when open.

    Best,
    Ernest Marcinko

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


    #29104
    mtmadmin35
    mtmadmin35
    Participant

    Thanks Ernest. That did it!

    Appreciated…

    #29118
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.