Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've been trying to theme the autocomplete dropdown list with CSS. The wrapper div comes with an ID and looks like this from a FireBug inspection:
<div id="autocomplete" style="margin-top: 30px; width: 148px; display: none;">
The only problem is, though the elements within the div respond the the CSS styles, the wrapper div has its style hard coded, which i can't seem to find where it's being set.
Any help will be deeply appreciated. Thanks.
Comments
Comment #1
drupalnesia CreditAttribution: drupalnesia commentedThis is mine:
I found no hard-coded above. You may re-open your Firebug, take a look at right dashboard, there is a small link pointed to the css file.
Comment #2
dela.deyoungster CreditAttribution: dela.deyoungster commentedThanks Drupal-id.com, I'll take a look at it a.s.a.p.
PS: Sorry for the delayed reply, i didn't receive any email notification of your comment. I guess i should check my Drupal user account settings.
Comment #3
Stan.Ezersky CreditAttribution: Stan.Ezersky commentedExample:
Enjoy! -)
Comment #3.0
Stan.Ezersky CreditAttribution: Stan.Ezersky commentedGrammatical error corrections.
Comment #4
doubleedesign CreditAttribution: doubleedesign commentedThank you so much for sharing this Stan. It was like banging my head against a brick wall trying to fix this until I found your post!
Comment #5
quotesBro CreditAttribution: quotesBro commented