This topic contains 2 replies, has 2 voices, and was last updated by kamaltyagi 6 years, 8 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Adding a margin to an absolute position search function in compact box mode
This topic contains 2 replies, has 2 voices, and was last updated by kamaltyagi 6 years, 8 months ago.
I have another small question about my search function pinned in the top corner of my site. I would just like to add a right margin or some padding-right to it so that the magnifier shows up a little further inside the site (away from the edge of the browser.) I have tried adding a right margin to this custom CSS snipet you gave me previously but it did not work:
div[id*=ajaxsearchprores] {
margin-top: -10px !important;
margin-right: 20px !important
}
Could you advise what custom CSS I can add to move over the magnifier? Thanks again for your time.
Hi,
Since you use the compact box layout, you can simply change it’s position on the Compact Box layout panel, without custom CSS: https://i.imgur.com/mDau7Uf.png
In your case you will have to lower the “top” value, and increase the “right” value.
Best,Yes! Sorry I missed that.
Problem solved.
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. |