Where do I override css for top-nav-search ? #359
-
To summarize: my header is dark and I am overriding the colors in order to do that. The search widget in the nav-bar needs to have a light-colored search button (It is the magnifying glass icon in font awesome) so you can actually see it. As you can see, it has a dark area next to the search text-box instead of the icon: In my header.php, I see a few sections with "search". One of them was decorated with The "Search Toggler" must not be visible because changing to btn-outline-light did not work...
I think it must be here: I did find the same search section in header-wocommerce in bootscore-main and it had Please help! Thank you so much! Cindy |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you are using the default searchform, simply copy Same way for WooCommerce search. Copy Does this help? |
Beta Was this translation helpful? Give feedback.
If you are using the default searchform, simply copy
searchform.php
from main-theme https://github.com/bootscore/bootscore/blob/main/searchform.php to your child's root and change button class.Same way for WooCommerce search. Copy
woocommerce/product-searchform.php
from main-theme https://github.com/bootscore/bootscore/blob/main/woocommerce/product-searchform.php to your child using the same folder structure and edit button class.Does this help?