This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 9 months ago.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
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 2 years, 9 months ago.
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
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,Thanks Ernest. That did it!
Appreciated…
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |