mytronstudios Posted September 1, 2022 Share Posted September 1, 2022 Site URL: https://www.trainsinthevalley.shop/ Hi! I just noticed today that my User Account Link is hidden. My site has a custom HTML Header that I designed myself. This code worked for months, but I noticed today that SQS's JavaScript isn't targeting the User Account Link. Therefore it isn't adding the "loaded" class to it. Also, it would normally remove the irrelevant span tag, so that only one would be displayed. Most likely it was a recent update that broke my code. I played around with the code inspector on Chrome, but I wasn't able to figure it out. So here I am! I know this is a pretty unique situation, but any help would be super appreciated! I'm sure I'm just missing a JS class or something simple. Here is my HTML: <!-- User Button --> <div id="user" class="user-accounts-link" data-controller="UserAccountLink" data-controllers-bound="UserAccountLink"> <a class="user-accounts-text-link custom-button custom-button--header" style="line-height: unset;" href="#" tabindex="0" aria-label="Sign in or create account"> <i class="material-icons custom-button__icon">person</i> <span class="auth custom-button__text">ACCOUNT</span> <span class="unauth custom-button__text" style="color: white;">SIGN IN</span> </a> </div> Thanks! -Corey Link to comment
tuanphan Posted September 3, 2022 Share Posted September 3, 2022 Add this to Design > Custom CSS /* User account */ .user-accounts-link .user-accounts-text-link { opacity: 1 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment