Access Keys:
Skip to content (Access Key - 0)

builder-search macro, CSS for drop down not working


This forum has now moved. These topics have been left as a read-only archive. Please create all new topics in the Community space.


Based on the CSS directions provided on the Customizing the Search button, I'm trying to use CSS to force the text in the search field to be black (Menu default is white). The field text colour is correct now, but the dropdown of suggestions is only displaying the looking class icon. The text is being displayed – it's visible when you mouse over the suggestion.

Here's the CSS being used:

/* search box */
#quick-search-query {
 color: #000000;
}

#quick-nav-drop-down {
 color: #000000;
}
#quick-nav-drop-down li {
 color: #000000;
}

Update:

I found this CSS worked to set the text colour as desired:

.atb-menu, .atb-menu p, .atb-menu td, .atb-menu th, .atb-menu div, .atb-menu span, .atb-menu div.dynarch-horiz-menu, .atb-menu div.dynarch-horiz-menu table, .atb-menu div.dynarch-horiz-menu table, .atb-menu input, .atb-menu ul li, .atb-menu ol li, .atb-menu select {
  color: #000000;
}

Problem is, the CSS above also affects the text colour in the navigation (Home, View, Edit, etc), which is not desired. When I look at the source in Firebug, I see:

<div class="aui-dd-parent quick-nav-drop-down" style="z-index: 2000;">
  <div class="aui-dropdown aui-dropdown-left">
    <ol>
      <li class="">
        <a class="content-type-page" href="..."><span title="...">...</span></a>
      </li>
    </ol>
    <ol class="last">
      <li class="">
        <a class="search-for" href="..."><span title="...">...</span></a>
      </li>
    </ol>
  </div>
</div>



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence