HT Search Autocomplete CSS
- This topic has 3 replies, 3 voices, and was last updated 7 years, 7 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › GovIntranetters › HT Search Autocomplete CSS
Tagged: autocomplete, css, styling
I’m wanting to style the results of the HT Autocomplete dropdown plugin. Can anyone point me to which styles I need to update? I currently have a child theme and am wanting to put my custom css there. I have tried using as the selector .ui-menu .ui-menu-item and .ui-widget-content. Is there a css file I need to enqueue in my child theme? Currently the results show as black text on a clear background which does not show easily. The way it currently appears and when looking at the “inspect element” feature in Chrome also makes me think there are no styles currently being applied to the results. I have attached a screenshot. On the demo.govintra.net sight it appears one of the css files from the plugin is being applied.
Hi Neal. Haven’t customized that section yet but I used the plugin WaspThemes – Yellow Pencil Lite to customize the whole site. All CSS changes can be added to the Custom CSS section on Govintranet Options.
For some really hard to theme sections like BuddyPress Profile tables and BP Profile Search which I’m using when someone clicks on the Staff Cards of an user, I had to use another plugin used to create custom themes called Microthemer which is able to gather CSS for buttons and other objects/fields that Yellow Pencil can’t.
Hope this helps!
We use the following CSS to tap into the dropdown suggestions on the search box:
.ui-menu-item.ui-state-focus { border: none; background: #1e73be; color: #fff; font-weight: 200; }
Thanks all for the pointers. It seems part of the problem I am running into is caching not showing my latest CSS changes.
Cookie | Duration | Description |
---|---|---|
comment_author_email_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_url_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
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. |
wordpress_logged_in_[hash] | Indicates when you’re logged in, and who you are, for most interface use. | |
wp-settings-{time}-[UID] | This is used to customize your view of admin interface, and possibly also the main site interface. |
Cookie | Duration | Description |
---|---|---|
_ga | 2 years | Used to distinguish users. |
_gat | 1 minute | Used to throttle request rate. |
_gid | 24 hours | Used to distinguish users. |