Eros eros Posted April 27 Share Posted April 27 Hi guys, I have this problem, I have a <a> tag that has the specified display: inline-flex !important; and I would like to change it to none !important. This tag is inside the external JS which is loaded in defer mode, wait for it to be loaded (document.addEventListener("DOMContentLoaded", function() {.....) but I can't intercept and modify it. the structure is a series of nested DIVs until reaching the <a> tag to be modified, but with the querySelectorAll I can only retrieve the outermost DIV but it doesn't see the nested ones in any way and therefore I can't get to the tag to be modified. ...how can I fix it? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 29 Share Posted April 29 Hi, It sounds like you're facing a challenge with modifying an <a> tag's style due to its nested position within a structure generated by an externally loaded JavaScript file. To assist you more effectively, could you please share the URL of the page on which you want to do the modifications? This will help in crafting a precise and effective solution using JavaScript or CSS. Regards. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now