Archived topic
Text color for button in header
1 reply · Started by Emanuel on March 8, 2022
Hi. I have the problem that a button which is a global element from elementor has a strange behaviour if I add it to the navigation. Elementor support checked the issue and found out that this is caused by child theme customization (see screenshot). They asked me to get in contact with you to see where this css is set.
I set the font color for the button to white but the text is black. Only in hover mode the text is white.
This is strange, because the button works like it should be in other positions.
I tried to solve it temporary with the following custom css, provided by elementor support but it does not work:
#header_section > div > div > div > div > div > a{
color: white !important;
}
Please tell me where the color is set by generatepress.
URL: finanzberatungskanzlei.ch
Best regards
Emanuel
Hi Emanuel,
Our products don’t add this kind of CSS. Looking at your site from my end, the CSS seems to be coming from elementor-frontend-inline-css:
See: https://share.getcloudapp.com/p9u6n4ge
Also see: https://share.getcloudapp.com/ApuJwoB5
The selector that changes the color of the button also selects the menu items in your header.
See: https://share.getcloudapp.com/nOuRg4Yz
As shown, similarly, the CSS set for the menu items and the CSS code in question all come from the same location, (index):75 which is elementor-frontend-inline-css.
With that said, can you kindly check once more if any setting in Elementor is creating this CSS code? Kindly clear any caching mechanism set in your website as well.
Hope to hear from you soon. :)